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;
 }
Ejemplo n.º 2
0
 public MatterProvision(IMatterRepository matterRepositoy, IOptions <MatterSettings> matterSettings, IOptions <ErrorSettings> errorSettings,
                        ISPOAuthorization spoAuthorization, IEditFunctions editFunctions, ValidationFunctions validationFunctions,
                        ICustomLogger customLogger, IOptions <LogTables> logTables, IOptions <MailSettings> mailSettings)
 {
     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;
 }
Ejemplo n.º 3
0
 public MatterProvision(IMatterRepository matterRepositoy, IOptions<MatterSettings> matterSettings, IOptions<ErrorSettings> errorSettings,
     ISPOAuthorization spoAuthorization, IEditFunctions editFunctions, ValidationFunctions validationFunctions,
     ICustomLogger customLogger, IOptions<LogTables> logTables, IOptions<MailSettings> mailSettings)
 {
     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;
 }
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;
 }