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 { /// /// an Implementation of Terms and Conditions Management Provided Actions ... /// 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; } } }