Inheritance: Microsoft.Practices.ObjectBuilder2.BuilderStrategy
示例#1
0
        private void SetBuildingStrategyForBuildingUnregisteredTypes()
        {
            var strategy = new AutoMockingBuilderStrategy(mocking, ioc);

            Context.Strategies.Add(strategy, UnityBuildStage.PreCreation);
        }
 private void SetBuildingStrategyForBuildingUnregisteredTypes()
 {
     var strategy = new AutoMockingBuilderStrategy(registeredTypes, Container);
     Context.Strategies.Add(strategy, UnityBuildStage.PreCreation);
 }