Beispiel #1
0
        public static Container CreateContainer()
        {
            var container = new Container();

            BusinessIocManager.RegisterDependenciesInto(container);
            DataIocManager.RegisterDependenciesInto(container);
            SharedIocManager.RegisterDependenciesInto(container);

            return(container);
        }
        public static Container CreateContainer()
        {
            var container = new Container();

            container.Register <ProPresenterVmixBridgeService>(Lifestyle.Transient);

            BusinessIocManager.RegisterDependenciesInto(container);
            DataIocManager.RegisterDependenciesInto(container);
            SharedIocManager.RegisterDependenciesInto(container);

            return(container);
        }
        public static Container CreateContainer()
        {
            var container = new Container();

            container.Options.AllowOverridingRegistrations = true;

            BusinessIocManager.RegisterDependenciesInto(container);
            DataIocManager.RegisterDependenciesInto(container);
            SharedIocManager.RegisterDependenciesInto(container);

            container.Register <IConfigManager, ConfigManagerMock>(Lifestyle.Singleton);

            return(container);
        }