Exemplo n.º 1
0
        public MainViewModel()
        {
            _githubService    = SimpleContainerService.Get <IGithubService>();
            _evaluatorService = SimpleContainerService.Get <IEvaluatorService>();

            InitCommands();
        }
Exemplo n.º 2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            SimpleContainerService.Register <IGithubService>(new GithubService());
            SimpleContainerService.Register <IEvaluatorService>(new EvaluatorService());

            base.OnStartup(e);
        }