public CatListViewModel(ISearchImages imageSearchAgent, IAppInsightsService appInsights)
        {
            _appInsightsService = appInsights;
            _imageSearchAgent   = imageSearchAgent;

            this.Items = new ObservableCollection <Cat>();
        }
Beispiel #2
0
 public SheepListViewModel(ISearchImages imageSearchAgent, IAppInsightsService appInsights)
 {
     _imageSearchAgent   = imageSearchAgent;
     _appInsightsService = appInsights;
     this.Items          = new ObservableCollection <Sheep>();
 }