StrategyList<TStageEnum>.AddNew<TStrategy>(TStageEnum) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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