public LicenseFileProvider(ISecurityService security,
                            IConfigurationService config,
                            ILicenseContentBuilder contentBuilder,
                            IUrlProvider urls,
                            IService <SchemaFile, int> schemaFiles,
                            IService <LicenseTemplate, int> licenseTemplates,
                            IService <LicenseAgreement, int> agreements,
                            IService <OrganizationLicense, int> licenses,
                            IService <Application, int> applications,
                            IService <Organization, int> organizations,
                            IService <ConsumerProviderRegistration, int> consumerProviderRegistrations,
                            IService <CustomLicense, int> customLicenses)
 {
     _security = security;
     _config   = config;
     _licenseContentBuilder = contentBuilder;
     _urls             = urls;
     _schemaFiles      = schemaFiles;
     _licenseTemplates = licenseTemplates;
     _agreements       = agreements;
     _licenses         = licenses;
     _customLicenses   = customLicenses;
     _applications     = applications;
     _organisations    = organizations;
     _consumerProviderRegistrations = consumerProviderRegistrations;
 }
示例#2
0
 public LicenseVerificationService(ITokenService tokens,
                                   IService <OrganizationLicense, int> orgLicenses,
                                   IService <User, int> users,
                                   IService <Organization, int> organisations,
                                   IService <DataSchema, int> dataSchemas,
                                   IConfigurationService config,
                                   ILicenseContentBuilder licenseContent,
                                   IUrlProvider urls,
                                   IService <SchemaFile, int> schemaFiles,
                                   ISecurityService security,
                                   INotificationService notifications,
                                   IService <LicenseApprovalRequest, int> verificationRequests,
                                   IService <LicenseMatch, int> licenseMatches,
                                   IUserNotificationService userNotifications)
 {
     _tokens               = tokens;
     _orgLicenses          = orgLicenses;
     _verificationRequests = verificationRequests;
     _users             = users;
     _organisations     = organisations;
     _config            = config;
     _licenseContent    = licenseContent;
     _urls              = urls;
     _schemaFiles       = schemaFiles;
     _security          = security;
     _dataSchemas       = dataSchemas;
     _notifications     = notifications;
     _licenseMatches    = licenseMatches;
     _userNotifications = userNotifications;
 }
 public OrganizationLicenseService(IService <OrganizationLicense, int> service,
                                   ILicenseMatchesService matchesService,
                                   IService <DataSchema, int> schemaService,
                                   IService <Application, int> applicationService,
                                   IService <LicenseClauseTemplate, int> clauseTemplates,
                                   IService <LicenseSection, int> sections,
                                   IService <LicenseClause, int> clauses,
                                   IService <ProviderEndpoint, int> endpoints,
                                   IService <OrganizationLicenseClause, int> orgLicenseClauseService,
                                   IService <SchemaFile, int> schemaFile,
                                   IService <Organization, int> organisations,
                                   IService <LicenseTemplate, int> licenseTemplates,
                                   ISecurityService security,
                                   IOrganizationLicenseClauseService licenseClauses,
                                   IConfigurationService config,
                                   ILicenseContentBuilder licenseContentBuilder,
                                   INotificationService notifications,
                                   IService <CustomLicense, int> customLicenses,
                                   IService <LicenseApprovalRequest, int> verificationRequests,
                                   ITokenService tokens,
                                   IService <User, int> users,
                                   IService <LicenseAgreement, int> agreements,
                                   IUrlProvider urls,
                                   IConfigurationService configuration)
 {
     _service               = service;
     _licenseMatches        = matchesService;
     _dataSchemaService     = schemaService;
     _applicationService    = applicationService;
     _clauseTemplateService = clauseTemplates;
     _sectionService        = sections;
     _clauseService         = clauses;
     _licenseClauseService  = orgLicenseClauseService;
     _schemaFileService     = schemaFile;
     _licenseClauses        = licenseClauses;
     _security              = security;
     _endpoints             = endpoints;
     _organisations         = organisations;
     _licenseTemplates      = licenseTemplates;
     _licenseContentBuilder = licenseContentBuilder;
     _customLicenses        = customLicenses;
     _config = config;
     _tokens = tokens;
     _verificationRequests = verificationRequests;
     _users               = users;
     _agreements          = agreements;
     _notificationService = notifications;
     _urls = urls;
 }
 public ConsumerProviderRegistrationService(IService <ProviderEndpoint, int> endpointService,
                                            IService <OrganizationLicense, int> licenseService,
                                            IService <OrganizationLicenseClause, int> orgLicenseClauses,
                                            IService <LicenseClause, int> licenseClauses,
                                            IService <LicenseSection, int> licenseSections,
                                            IService <LicenseClauseTemplate, int> licenseClauseTemplates,
                                            IService <DataSchema, int> schemaService,
                                            IService <SchemaFile, int> schemaFiles,
                                            IService <Application, int> application,
                                            IService <LicenseApprovalRequest, int> verificationRequests,
                                            ITokenService tokens,
                                            IService <User, int> users,
                                            IService <ConsumerProviderRegistration, int> consumerProviderRegistration,
                                            IOrganizationLicenseService organizationLicenseService,
                                            IUrlProvider urls,
                                            INotificationService notificationService,
                                            IConfigurationService config,
                                            ILicenseContentBuilder licenseContent,
                                            IService <Organization, int> organisations,
                                            ISecurityService security)
 {
     _endpointService              = endpointService;
     _licenseService               = licenseService;
     _orgLicenseClauses            = orgLicenseClauses;
     _licenseClauses               = licenseClauses;
     _licenseSections              = licenseSections;
     _licenseClauseTemplates       = licenseClauseTemplates;
     _schemaService                = schemaService;
     _schemaFiles                  = schemaFiles;
     _application                  = application;
     _verificationRequests         = verificationRequests;
     _consumerProviderRegistration = consumerProviderRegistration;
     _organizationLicenseService   = organizationLicenseService;
     _users  = users;
     _tokens = tokens;
     _urls   = urls;
     _notificationService = notificationService;
     _config         = config;
     _licenseContent = licenseContent;
     _organisations  = organisations;
     _security       = security;
 }
示例#5
0
 public ConsumerProviderRegistrationNotificationService(IEmailSettings emailSettings,
                                                        IService <OrganizationLicense> licenseService,
                                                        IService <Application> applicationService,
                                                        IService <Organization> organizationService,
                                                        IService <LicenseTemplate> licenseTemplateService,
                                                        ILicenseContentBuilder licenseContentBuilder,
                                                        IService <Database.Models.User> userService,
                                                        IService <LicenseAgreement> agreementService,
                                                        IService <ConsumerProviderRegistration, int> consumerProviderRegistration,
                                                        IService <DataSchema> dataSchemaService,
                                                        ILicenseFileProvider licenseFileProvider) : base(emailSettings)
 {
     _licenseService                = licenseService;
     _applicationService            = applicationService;
     _organizationService           = organizationService;
     _licenseTemplateService        = licenseTemplateService;
     _licenseContentBuilder         = licenseContentBuilder;
     _userService                   = userService;
     _agreementService              = agreementService;
     _consumerProviderRegistrations = consumerProviderRegistration;
     _dataSchemaService             = dataSchemaService;
     _licenseFileProvider           = licenseFileProvider;
 }