public MainViewModel() { _githubService = SimpleContainerService.Get <IGithubService>(); _evaluatorService = SimpleContainerService.Get <IEvaluatorService>(); InitCommands(); }
protected override void OnStartup(StartupEventArgs e) { SimpleContainerService.Register <IGithubService>(new GithubService()); SimpleContainerService.Register <IEvaluatorService>(new EvaluatorService()); base.OnStartup(e); }