예제 #1
0
        private static IIocContainer InitializeIocContainer()
        {
            var container = IocRegistration.GetEmptyContainer();

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

            return(container);
        }
예제 #2
0
        private static LinFuIocContainer InitializeIocContainer()
        {
            LinFuIocContainer container = new LinFuIocContainer();

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

            return(container);
        }