32 lines
1.0 KiB
C#
32 lines
1.0 KiB
C#
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;
|
|
}
|
|
}
|
|
} |