AOP01.Core.SmObjectFactory.defaultContainer C# (CSharp) Метод

defaultContainer() приватный статический Метод

private static defaultContainer ( ) : Container
Результат Container
        private static Container defaultContainer()
        {
            return new Container(ioc =>
            {
                ioc.Scan(scanner =>
                {
                    scanner.AddAllTypesOf<BaseViewModel>();
                    scanner.AssemblyContainingType<ITestService>();
                    scanner.WithDefaultConventions();
                });
                ioc.For<BaseViewModel>()
                   .DecorateAllWith(baseViewModel => getProxy(baseViewModel));
            });
        }