Click or drag to resize

MZpackStrategyBaseSync Property

Sync object
Examples
protected override void OnStateChange()
{
    base.OnStateChange();  // Base OnStateChange() call is required

    lock (Sync) // Sync event handler
    { 
        // Place strategy logic here
        if (State == State.SetDefaults)
        {  ...  }
    }
}

Namespace:  MZpack.NT8.Algo
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
C#
public Object Sync { get; }

Property Value

Type: Object
See Also