Click or drag to resize

ExtensionsTryInitLocalTime Method

Try to initialize LocalTime by CurrentTime.

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static void TryInitLocalTime(
	this Message message,
	ILogSource source
)

Parameters

message
Type: StockSharp.MessagesMessage
Message.
source
Type: StockSharp.LoggingILogSource
Source.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Message. 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