예제 #1
0
        public bool?EditGames(List <IGame> games)
        {
            var model = new GameEditViewModel(
                games,
                database,
                GameEditWindowFactory.Instance,
                new DialogsFactory(),
                new ResourceProvider());

            return(model.OpenView());
        }
예제 #2
0
        public bool?EditGames(List <Game> games)
        {
            var model = new GameEditViewModel(
                games,
                Database,
                new GameEditWindowFactory(),
                Dialogs,
                new ResourceProvider(),
                Extensions);

            return(model.OpenView());
        }
예제 #3
0
        public bool?EditGame(IGame game)
        {
            var model = new GameEditViewModel(
                game,
                database,
                GameEditWindowFactory.Instance,
                new DialogsFactory(),
                new ResourceProvider(),
                appSettings);

            return(model.OpenView());
        }
예제 #4
0
        public bool?EditGame(Game game)
        {
            var model = new GameEditViewModel(
                game,
                database,
                GameEditWindowFactory.Instance,
                new DialogsFactory(),
                new DefaultResourceProvider(),
                extensions);

            return(model.OpenView());
        }
예제 #5
0
        public bool?EditGame(Game game)
        {
            var model = new GameEditViewModel(
                game,
                Database,
                new GameEditWindowFactory(),
                Dialogs,
                new ResourceProvider(),
                Extensions,
                Application.Api);

            return(model.OpenView());
        }