Example #1
0
        private static LinFuIocContainer InitializeIocContainer()
        {
            var container = new LinFuIocContainer();

            IocRegistration.RegisterSystemServices(container);

            return(container);
        }
Example #2
0
        private static IIocContainer InitializeIocContainer()
        {
            var container = IocRegistration.GetEmptyContainer();

            IocRegistration.RegisterPortableDeviceServices(container);
            IocRegistration.RegisterSystemServices(container);
            IocRegistration.RegisterFileServices(container);

            return(container);
        }
Example #3
0
        private static LinFuIocContainer InitializeIocContainer()
        {
            LinFuIocContainer container = new LinFuIocContainer();

            IocRegistration.RegisterPortableDeviceServices(container);
            IocRegistration.RegisterSystemServices(container);
            IocRegistration.RegisterFileServices(container);

            return(container);
        }
Example #4
0
        public static void Initialize()
        {
            Container = new LinFuIocContainer();

            IocRegistration.RegisterFileServices(Container);
            IocRegistration.RegisterSystemServices(Container);
            IocRegistration.RegisterPodcastServices(Container);

            RegisterPresentationServices();
            RegisterViewModels();
        }