Browse Source

readonly missing in service declaration

readonly missing in service declaration
pull/1343/head
william-keller 4 years ago
committed by GitHub
parent
commit
c031dbbb74
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs

+ 2
- 2
src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs View File

@ -15,7 +15,7 @@ namespace eShopOnContainers.Core.ViewModels
private CatalogBrand _brand;
private ObservableCollection<CatalogType> _types;
private CatalogType _type;
private ICatalogService _productsService;
private readonly ICatalogService _productsService;
public CatalogViewModel(ICatalogService productsService)
{
@ -127,4 +127,4 @@ namespace eShopOnContainers.Core.ViewModels
IsBusy = false;
}
}
}
}

Loading…
Cancel
Save