From c031dbbb74a03ebb17efcf248b24461295786070 Mon Sep 17 00:00:00 2001 From: william-keller Date: Wed, 17 Jun 2020 00:39:22 -0300 Subject: [PATCH] readonly missing in service declaration readonly missing in service declaration --- .../eShopOnContainers.Core/ViewModels/CatalogViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs index 1554f7fb0..215f99098 100644 --- a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs +++ b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs @@ -15,7 +15,7 @@ namespace eShopOnContainers.Core.ViewModels private CatalogBrand _brand; private ObservableCollection _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; } } -} \ No newline at end of file +}