Exemple #1
0
        public ExplorerWindow()
        {
            InitializeComponent();

            var types      = ApplicationConfig.MediaTypes;
            var mediatypes = new MediaTypes(types);

            DataContext = Model = IoCKernel.Get <IExplorerViewModel>(new ConstructorArgument("mediaTypes", mediatypes, true));
        }
        public MainWindow()
        {
            InitializeComponent();

            DataContext = Model = IoCKernel.Get <ILibraryViewModel>();
        }