Ejemplo n.º 1
0
        public void Window_Loaded(object sender, RoutedEventArgs ea)
        {
            Title = $"{ProductText} v{VersionText}";

            var presenterModel = new DiagsPresenter.Model(this);

            viewModel = presenterModel.ViewModel;
            ParseArgs();

            DataContext = viewModel;
            if (isImmediate)
            {
                presenterModel.Parse();
            }
        }
Ejemplo n.º 2
0
 public MockDiagsView()
 {
     ViewModel           = new DiagsPresenter.Model(this).ViewModel;
     ViewModel.Scope     = Granularity.Detail;
     ViewModel.HashFlags = Hashes.Intrinsic;
 }