Incapsulate some classes

This commit is contained in:
Sergey Chebotar 2022-02-02 18:10:29 +03:00
parent 1dfbfaa461
commit 0258eb4d2b
4 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ using System.Runtime.Caching;
namespace RehauSku namespace RehauSku
{ {
public enum ResponseOrder enum ResponseOrder
{ {
Default, Default,
Relevance, Relevance,
@ -17,7 +17,7 @@ namespace RehauSku
Series Series
} }
public class AddIn : IExcelAddIn class AddIn : IExcelAddIn
{ {
public static HttpClient httpClient; public static HttpClient httpClient;
public static MemoryCache memoryCache; public static MemoryCache memoryCache;

View File

@ -5,7 +5,7 @@ using System.Text.RegularExpressions;
namespace RehauSku.Assistant namespace RehauSku.Assistant
{ {
public static class RequestModifier static class RequestModifier
{ {
public static string CleanRequest(this string input) public static string CleanRequest(this string input)
{ {

View File

@ -2,7 +2,7 @@
namespace RehauSku.Assistant namespace RehauSku.Assistant
{ {
public enum ProductField enum ProductField
{ {
Name, Name,
Id, Id,

View File

@ -2,17 +2,17 @@
namespace RehauSku.Assistant namespace RehauSku.Assistant
{ {
public class StoreResponce class StoreResponce
{ {
public Ecommerce Ecommerce { get; set; } public Ecommerce Ecommerce { get; set; }
} }
public class Ecommerce class Ecommerce
{ {
public List<Product> Impressions { get; set; } public List<Product> Impressions { get; set; }
} }
public class Product : IProduct class Product : IProduct
{ {
public string Id { get; set; } public string Id { get; set; }
public string Name { get; set; } public string Name { get; set; }