Files
xTermsAndConditionsService/Providers/XTermsAndConditionsProvider.cs
T
2026-05-30 00:40:38 +03:30

28 lines
949 B
C#

using xStringService.Interfaces.Dtos;
using xStringService.Providers;
using xTermsAndConditionsService.Configurations;
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;
}
}
}