コード例 #1
0
        public AppSummaryPage()
        {
            InitializeComponent();
            ViewModel = IoC.Get <AppSummaryViewModel>();

            _manipulator            = new DictionaryResourceManipulator(this.Contents.Resources);
            _modsViewSource         = _manipulator.Get <CollectionViewSource>("FilteredMods");
            _modsViewSource.Filter += ModsViewSourceOnFilter;
            AnimateOutFinished     += Dispose;
        }
コード例 #2
0
 public OpenModFolderCommand(AppSummaryViewModel summaryViewModel)
 {
     _summaryViewModel = summaryViewModel;
     _summaryViewModel.PropertyChanged += SummaryViewModelPropertyChanged;
 }
コード例 #3
0
 public ConfigureModCommand(AppSummaryViewModel summaryViewModel)
 {
     _summaryViewModel = summaryViewModel;
     _summaryViewModel.PropertyChanged += SummaryViewModelOnPropertyChanged;
 }