Exemplo n.º 1
0
 /* Construction - Deconstruction */
 public DownloadModsViewModel(AggregateNugetRepository _nugetRepository)
 {
     this._nugetRepository = _nugetRepository;
     DownloadModEntries    = new ObservableCollection <DownloadModEntry>();
     DownloadModCommand    = new DownloadModCommand(this);
     PropertyChanged      += OnSearchQueryChanged;
 }
Exemplo n.º 2
0
 /* Construction - Deconstruction */
 public DownloadModsViewModel(NugetHelper nugetHelper)
 {
     _nugetHelper       = nugetHelper;
     DownloadModEntries = new ObservableCollection <DownloadModEntry>();
     DownloadModCommand = new DownloadModCommand(this);
     PropertyChanged   += OnSearchQueryChanged;
     #pragma warning disable 4014
     GetSearchResults(); // Fire and forget.
     #pragma warning restore 4014
 }