예제 #1
0
        public static Container Init()
        {
            var container = new Container();

            Register(container);
            ContainerInspectionRegistration.Register(container);
            ContainerUpdateRegistration.Register(container);

            return(container);
        }
예제 #2
0
        public static Container Init()
        {
            var container = new Container();

            RegisterHttpClient(container);

            Register(container);
            RegisterCommands(container);
            ContainerInspectionRegistration.Register(container);
            ContainerUpdateRegistration.Register(container);

            container.Verify();

            return(container);
        }