Ejemplo n.º 1
0
 /// <summary>
 /// Constructor where all the dependencies are injected
 /// </summary>
 /// <param name="matterRepositoy"></param>
 /// <param name="matterSettings"></param>
 /// <param name="errorSettings"></param>
 /// <param name="spoAuthorization"></param>
 /// <param name="editFunctions"></param>
 /// <param name="validationFunctions"></param>
 /// <param name="customLogger"></param>
 /// <param name="logTables"></param>
 /// <param name="mailSettings"></param>
 /// <param name="camlQueries"></param>
 /// <param name="listNames"></param>
 /// <param name="generalSettings"></param>
 /// <param name="searchSettings"></param>
 /// <param name="userRepositoy"></param>
 /// <param name="externalSharing"></param>
 /// <param name="configuration"></param>
 /// <param name="userDetails"></param>
 public MatterProvision(IMatterRepository matterRepositoy, IOptions<MatterSettings> matterSettings,
     IOptions<ErrorSettings> errorSettings,
     ISPOAuthorization spoAuthorization, IEditFunctions editFunctions, IValidationFunctions validationFunctions,
     ICustomLogger customLogger, IOptions<LogTables> logTables,
     IOptions<MailSettings> mailSettings,
     IOptions<CamlQueries> camlQueries,
     IOptions<ListNames> listNames,
     IOptions<GeneralSettings> generalSettings,
     IOptions<SearchSettings> searchSettings, IUserRepository userRepositoy, 
     IExternalSharing externalSharing, IConfigurationRoot configuration, IUsersDetails userDetails
     )
 {
     this.matterRepositoy = matterRepositoy;
     this.matterSettings = matterSettings.Value;
     this.spoAuthorization = spoAuthorization;
     this.editFunctions = editFunctions;
     this.errorSettings = errorSettings.Value;
     this.customLogger = customLogger;
     this.logTables = logTables.Value;
     this.validationFunctions = validationFunctions;
     this.mailSettings = mailSettings.Value;
     this.camlQueries = camlQueries.Value;
     this.listNames = listNames.Value;
     this.searchSettings = searchSettings.Value;
     this.userRepositoy = userRepositoy;
     this.externalSharing = externalSharing;
     this.configuration = configuration;
     this.userDetails = userDetails;
     this.generalSettings = generalSettings.Value;
 }
 /// <summary>
 /// Constructor where all the required dependencies are injected
 /// </summary>
 /// <param name="errorSettings"></param>
 /// <param name="taxonomySettings"></param>
 /// <param name="generalSettings"></param>
 /// <param name="matterCenterServiceFunctions"></param>
 /// <param name="taxonomyRepository"></param>
 /// <param name="customLogger"></param>
 /// <param name="logTables"></param>
 /// <param name="validationFunctions"></param>
 public TaxonomyController(IOptions <ErrorSettings> errorSettings,
                           IOptions <TaxonomySettings> taxonomySettings,
                           IOptions <GeneralSettings> generalSettings,
                           IMatterCenterServiceFunctions matterCenterServiceFunctions,
                           ITaxonomyRepository taxonomyRepository,
                           ICustomLogger customLogger,
                           IOptions <LogTables> logTables,
                           IValidationFunctions validationFunctions)
 {
     this.errorSettings                = errorSettings.Value;
     this.taxonomySettings             = taxonomySettings.Value;
     this.generalSettings              = generalSettings.Value;
     this.matterCenterServiceFunctions = matterCenterServiceFunctions;
     this.taxonomyRepository           = taxonomyRepository;
     this.customLogger        = customLogger;
     this.logTables           = logTables.Value;
     this.validationFunctions = validationFunctions;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor where all the required dependencies are injected
 /// </summary>
 /// <param name="errorSettings"></param>
 /// <param name="taxonomySettings"></param>
 /// <param name="generalSettings"></param>
 /// <param name="matterCenterServiceFunctions"></param>
 /// <param name="taxonomyRepository"></param>
 /// <param name="customLogger"></param>
 /// <param name="logTables"></param>
 /// <param name="validationFunctions"></param>
 public TaxonomyController(IOptions<ErrorSettings> errorSettings, 
     IOptions<TaxonomySettings> taxonomySettings, 
     IOptions<GeneralSettings> generalSettings,            
     IMatterCenterServiceFunctions matterCenterServiceFunctions,
     ITaxonomyRepository taxonomyRepository, 
     ICustomLogger customLogger, 
     IOptions<LogTables> logTables, 
     IValidationFunctions validationFunctions)
 {
     this.errorSettings = errorSettings.Value;
     this.taxonomySettings = taxonomySettings.Value;
     this.generalSettings = generalSettings.Value;            
     this.matterCenterServiceFunctions = matterCenterServiceFunctions;            
     this.taxonomyRepository = taxonomyRepository;
     this.customLogger = customLogger;
     this.logTables = logTables.Value;
     this.validationFunctions = validationFunctions;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructor where all the required dependencies are injected
 /// </summary>
 /// <param name="errorSettings"></param>
 /// <param name="matterSettings"></param>
 /// <param name="matterCenterServiceFunctions"></param>
 /// <param name="matterRepositoy"></param>
 /// <param name="customLogger"></param>
 /// <param name="logTables"></param>
 /// <param name="validationFunctions"></param>
 /// <param name="editFunctions"></param>
 /// <param name="matterProvision"></param>
 public MatterController(IOptions<ErrorSettings> errorSettings,
     IOptions<MatterSettings> matterSettings,
     
     IMatterCenterServiceFunctions matterCenterServiceFunctions,
     IMatterRepository matterRepositoy,
     ICustomLogger customLogger, IOptions<LogTables> logTables,
     IValidationFunctions validationFunctions,
     IEditFunctions editFunctions,
     IMatterProvision matterProvision
     )
 {
     this.errorSettings = errorSettings.Value;
     this.matterSettings = matterSettings.Value;            
     this.matterCenterServiceFunctions = matterCenterServiceFunctions;
     this.matterRepositoy = matterRepositoy;
     this.customLogger = customLogger;
     this.logTables = logTables.Value;
     this.validationFunctions = validationFunctions;
     this.editFunctions = editFunctions;
     this.matterProvision = matterProvision;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Constructor where all the required dependencies are injected
 /// </summary>
 /// <param name="errorSettings"></param>
 /// <param name="matterSettings"></param>
 /// <param name="spoAuthorization"></param>
 /// <param name="matterCenterServiceFunctions"></param>
 public MatterController(IOptions <ErrorSettings> errorSettings,
                         IOptions <MatterSettings> matterSettings,
                         ISPOAuthorization spoAuthorization,
                         IMatterCenterServiceFunctions matterCenterServiceFunctions,
                         IMatterRepository matterRepositoy,
                         ICustomLogger customLogger, IOptions <LogTables> logTables,
                         IValidationFunctions validationFunctions,
                         IEditFunctions editFunctions,
                         IMatterProvision matterProvision
                         )
 {
     this.errorSettings                = errorSettings.Value;
     this.matterSettings               = matterSettings.Value;
     this.spoAuthorization             = spoAuthorization;
     this.matterCenterServiceFunctions = matterCenterServiceFunctions;
     this.matterRepositoy              = matterRepositoy;
     this.customLogger        = customLogger;
     this.logTables           = logTables.Value;
     this.validationFunctions = validationFunctions;
     this.editFunctions       = editFunctions;
     this.matterProvision     = matterProvision;
 }