Refactor using XResourceProvider Feature of XString Service ...

This commit is contained in:
2026-05-29 19:34:32 +03:30
parent 1b861b3e99
commit d4ea1d63cf
9 changed files with 105 additions and 986 deletions
+32
View File
@@ -0,0 +1,32 @@
using System;
using System.Linq;
using System.Reflection;
using xCommons.Extensions;
using xStringService.Interfaces.Dtos;
using xStringService.Providers;
using xTermsAndConditionsService.Configuration;
using xTermsAndConditionsService.Interfaces;
namespace xTermsAndConditionsService.Providers
{
/// <summary>
/// an Implementation of Terms and Conditions Management Provided Actions ...
/// </summary>
public class XTermsAndConditionsProvider : XBaseResourceProvider, IXTermsAndConditionsProvider
{
public XTermsAndConditionsProvider(
IXStringServiceProvider provider,
XTermsAndConditionsServiceConfiguration configuration
) : base(
resource: "NULL",
provider
)
{
//
// Since we nee to Set Resource Title of Terms and Conditions
// during instancing using Provided Configurations ...
// set this value here ...
resource = configuration.ResourceTitle;
}
}
}