refactor and add using constants instead of hard coded strings ...

This commit is contained in:
2026-07-30 14:25:05 +03:30
parent 2546e7cb2c
commit 313897e911
2 changed files with 25 additions and 1 deletions
@@ -0,0 +1,24 @@
namespace xTermsAndConditionsService.Constants
{
public struct XTermsAndConditionsServiceConstants
{
//
// Service Extensions Log Tag ...
public const string XTermsAndConditionsServiceDILogTag = "XTermsAndConditionsService";
//
// Table Mapping Identifiers ...
//
// GraphQL Collection Mappings ...
//
// Hubs ...
//
// Custome Constants ...
//
// EF Repositories Helper Extensions ...
}
}
+1 -1
View File
@@ -214,7 +214,7 @@ namespace xTermsAndConditionsService.DI
/// <summary>
/// a LogTag for Service ...
/// </summary>
private static string XLogTag = "XTermsAndConditionsService";
private static string XLogTag = XTermsAndConditionsServiceConstants.XTermsAndConditionsServiceDILogTag;
/// <summary>
/// print a log in Console ...