refactor and add using constants instead of hard coded strings ...
This commit is contained in:
@@ -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 ...
|
||||
}
|
||||
}
|
||||
@@ -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 ...
|
||||
|
||||
Reference in New Issue
Block a user