protected override void AddBuilderStrategies(Microsoft.Practices.ObjectBuilder.Builder builder) { base.AddBuilderStrategies(builder); builder.Strategies.AddNew <WindowsServiceStrategy>(BuilderStage.Initialization); builder.Strategies.AddNew <FrameworkElementStrategy>(BuilderStage.Initialization); }
/// <summary> /// Adds the <see cref="WPFControlSmartPartStrategy"/> Builder Strategy. /// </summary> protected override void AddBuilderStrategies(Microsoft.Practices.ObjectBuilder.Builder builder) { base.AddBuilderStrategies(builder); builder.Strategies.AddNew<WPFControlSmartPartStrategy>(BuilderStage.Initialization); }