Click or drag to resize

ExtensionsShare Method

Share file.

Namespace:  StockSharp.Xaml
Assembly:  StockSharp.Xaml (in StockSharp.Xaml.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static void Share(
	this DependencyObject owner,
	bool isNew,
	string fileName,
	Func<Stream> getBody
)

Parameters

owner
Type: System.WindowsDependencyObject
Owner.
isNew
Type: SystemBoolean
Is file newly or updated.
fileName
Type: SystemString
File name.
getBody
Type: SystemFuncStream
File body.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DependencyObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also