/// <summary> /// Initializes a new instance of the <see cref="LicenseValidationService" /> class. /// </summary> /// <param name="applicationIdService">The application identifier service.</param> /// <param name="expirationBehavior">The expiration behavior.</param> /// <param name="identificationService">The identification service.</param> /// <param name="machineLicenseValidationService">The machine license validation service.</param> public LicenseValidationService(IApplicationIdService applicationIdService, IExpirationBehavior expirationBehavior, IIdentificationService identificationService, IMachineLicenseValidationService machineLicenseValidationService) { Argument.IsNotNull(() => applicationIdService); Argument.IsNotNull(() => expirationBehavior); Argument.IsNotNull(() => identificationService); Argument.IsNotNull(() => machineLicenseValidationService); _applicationIdService = applicationIdService; _expirationBehavior = expirationBehavior; _identificationService = identificationService; _machineLicenseValidationService = machineLicenseValidationService; }
/// <summary> /// Initializes a new instance of the <see cref="LicenseValidationService" /> class. /// </summary> /// <param name="applicationIdService">The application identifier service.</param> /// <param name="expirationBehavior">The expiration behavior.</param> /// <param name="identificationService">The identification service.</param> /// <param name="machineLicenseValidationService">The machine license validation service.</param> public LicenseValidationService(IApplicationIdService applicationIdService, IExpirationBehavior expirationBehavior, IIdentificationService identificationService, IMachineLicenseValidationService machineLicenseValidationService) { Argument.IsNotNull(() => applicationIdService); Argument.IsNotNull(() => expirationBehavior); Argument.IsNotNull(() => identificationService); Argument.IsNotNull(() => machineLicenseValidationService); _applicationIdService = applicationIdService; _expirationBehavior = expirationBehavior; _identificationService = identificationService; _machineLicenseValidationService = machineLicenseValidationService; }