Compartir a través de


StrategyList<TStageEnum>.AddNew<TStrategy>(TStageEnum) Method

Definition

public:
generic <typename TStrategy>
 where TStrategy : Microsoft::Practices::ObjectBuilder::IBuilderStrategygcnew() void AddNew(TStageEnum stage);
public void AddNew<TStrategy> (TStageEnum stage) where TStrategy : Microsoft.Practices.ObjectBuilder.IBuilderStrategynew();
member this.AddNew : 'StageEnum -> unit (requires 'Strategy :> Microsoft.Practices.ObjectBuilder.IBuilderStrategy and 'Strategy : (new : unit -> 'Strategy))
Public Sub AddNew(Of TStrategy As {IBuilderStrategyNew}) (stage As TStageEnum)

Type Parameters

TStrategy

Parameters

stage
TStageEnum

Applies to