コード例 #1
0
 public LicenseMatchesService(
     IService <LicenseMatch, int> service,
     IService <OrganizationLicense, int> organisationLicenses,
     IService <OrganizationLicenseClause, int> organisationClauses,
     ILicenseComparerService licenseComparer
     )
 {
     _service              = service;
     _licenseComparer      = licenseComparer;
     _organisationLicenses = organisationLicenses;
     _organisationClauses  = organisationClauses;
 }
コード例 #2
0
 public LicensesController(IAuthorisationService auth,
                           IOrganizationLicenseService licenseService,
                           ICustomLicenseService customLicenses,
                           ILicenseFileProvider licenseFiles,
                           ILicenseComparerService licenseComparer,
                           IConfigurationService config)
     : base(auth)
 {
     _licenseService  = licenseService;
     _config          = config;
     _customLicenses  = customLicenses;
     _licenseFiles    = licenseFiles;
     _licenseComparer = licenseComparer;
 }