From 0258eb4d2bf82c03be2b0eb2deed5643bb78843e Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Wed, 2 Feb 2022 18:10:29 +0300 Subject: [PATCH] Incapsulate some classes --- src/AddIn/AddIn.cs | 4 ++-- src/Assistant/RequestModifier.cs | 2 +- src/Assistant/SkuAssist.cs | 2 +- src/Assistant/StoreResponse.cs | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/AddIn/AddIn.cs b/src/AddIn/AddIn.cs index 93d8aec..b0fcc3b 100644 --- a/src/AddIn/AddIn.cs +++ b/src/AddIn/AddIn.cs @@ -8,7 +8,7 @@ using System.Runtime.Caching; namespace RehauSku { - public enum ResponseOrder + enum ResponseOrder { Default, Relevance, @@ -17,7 +17,7 @@ namespace RehauSku Series } - public class AddIn : IExcelAddIn + class AddIn : IExcelAddIn { public static HttpClient httpClient; public static MemoryCache memoryCache; diff --git a/src/Assistant/RequestModifier.cs b/src/Assistant/RequestModifier.cs index 9f42e71..c2c3436 100644 --- a/src/Assistant/RequestModifier.cs +++ b/src/Assistant/RequestModifier.cs @@ -5,7 +5,7 @@ using System.Text.RegularExpressions; namespace RehauSku.Assistant { - public static class RequestModifier + static class RequestModifier { public static string CleanRequest(this string input) { diff --git a/src/Assistant/SkuAssist.cs b/src/Assistant/SkuAssist.cs index 6c68288..85a084c 100644 --- a/src/Assistant/SkuAssist.cs +++ b/src/Assistant/SkuAssist.cs @@ -2,7 +2,7 @@ namespace RehauSku.Assistant { - public enum ProductField + enum ProductField { Name, Id, diff --git a/src/Assistant/StoreResponse.cs b/src/Assistant/StoreResponse.cs index 8e1759d..1a9b1c5 100644 --- a/src/Assistant/StoreResponse.cs +++ b/src/Assistant/StoreResponse.cs @@ -2,17 +2,17 @@ namespace RehauSku.Assistant { - public class StoreResponce + class StoreResponce { public Ecommerce Ecommerce { get; set; } } - public class Ecommerce + class Ecommerce { public List Impressions { get; set; } } - public class Product : IProduct + class Product : IProduct { public string Id { get; set; } public string Name { get; set; }