Click or drag to resize

MZpackStrategyBaseOnCreateAlgoStrategy Property

Assign delegate for creating MZpack Algo strategy object.

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 OnCreateAlgoStrategyDelegate OnCreateAlgoStrategy { get; set; }

Property Value

Type: OnCreateAlgoStrategyDelegate
Examples
C#
// Constructor
public MyMZpackCustomStrategy() : base()
{
    OnCreateAlgoStrategy = new OnCreateAlgoStrategyDelegate(CreateAlgoStrategy);
}

protected MZpack.NT8.Algo.Strategy CreateAlgoStrategy()
{
   return new MZpack.NT8.Algo.Strategy(@"My MZpack Algo Strategy", this);
}
See Also