public UploadHelperFunctions(ISPOAuthorization spoAuthorization, IOptions<ErrorSettings> errorSettings, IUserRepository userRepositoy, IDocumentRepository documentRepository, IOptions<DocumentSettings> documentSettings, IUploadHelperFunctionsUtility uploadHelperFunctionsUtility) { this.spoAuthorization = spoAuthorization; this.errorSettings = errorSettings.Value; this.documentRepository = documentRepository; this.documentSettings = documentSettings.Value; this.uploadHelperFunctionsUtility = uploadHelperFunctionsUtility; this.userRepositoy = userRepositoy; }
/// <summary> /// Controlls the functionality for email related. /// </summary> /// <param name="errorSettings"></param> /// <param name="customLogger"></param> /// <param name="matterCenterServiceFunctions"></param> /// <param name="logTables"></param> /// <param name="documentProvision"></param> /// <param name="documentSettings"></param> public EmailController(IOptions<ErrorSettings> errorSettings, ICustomLogger customLogger, IMatterCenterServiceFunctions matterCenterServiceFunctions, IOptions<LogTables> logTables, IDocumentProvision documentProvision, IOptions<DocumentSettings> documentSettings) { this.errorSettings = errorSettings.Value; this.matterCenterServiceFunctions = matterCenterServiceFunctions; this.customLogger = customLogger; this.logTables = logTables.Value; this.documentProvision = documentProvision; this.documentSettings = documentSettings.Value; }
/// <summary> /// Constructor where all the required dependencies are injected /// </summary> /// <param name="errorSettings"></param> /// <param name="documentSettings"></param> /// <param name="spoAuthorization"></param> /// <param name="matterCenterServiceFunctions"></param> /// <param name="documentRepositoy"></param> public DocumentController(IOptions<ErrorSettings> errorSettings, IOptions<DocumentSettings> documentSettings, ISPOAuthorization spoAuthorization, IMatterCenterServiceFunctions matterCenterServiceFunctions, IDocumentRepository documentRepositoy, ICustomLogger customLogger, IOptions<LogTables> logTables ) { this.errorSettings = errorSettings.Value; this.documentSettings = documentSettings.Value; this.spoAuthorization = spoAuthorization; this.matterCenterServiceFunctions = matterCenterServiceFunctions; this.documentRepositoy = documentRepositoy; this.customLogger = customLogger; this.logTables = logTables.Value; }
/// <summary> /// DcouemtsController Constructor where all the required dependencies are injected /// </summary> /// <remarks></remarks> /// /// <param name="errorSettings"></param> /// <param name="documentSettings"></param> /// <param name="matterCenterServiceFunctions"></param> /// <param name="documentRepositoy"></param> /// <param name="customLogger"></param> /// <param name="logTables"></param> /// <param name="documentProvision"></param> /// <param name="generalSettings"></param> public DocumentController(IOptions<ErrorSettings> errorSettings, IOptions<DocumentSettings> documentSettings, IMatterCenterServiceFunctions matterCenterServiceFunctions, IDocumentRepository documentRepositoy, ICustomLogger customLogger, IOptions<LogTables> logTables, IDocumentProvision documentProvision, IOptions<GeneralSettings> generalSettings ) { this.errorSettings = errorSettings.Value; this.documentSettings = documentSettings.Value; this.matterCenterServiceFunctions = matterCenterServiceFunctions; this.documentRepositoy = documentRepositoy; this.customLogger = customLogger; this.logTables = logTables.Value; this.documentProvision = documentProvision; this.generalSettings = generalSettings.Value; }
public DocumentProvision(IDocumentRepository docRepository, IUserRepository userRepository, IUploadHelperFunctions uploadHelperFunctions, IOptions<GeneralSettings> generalSettings, IOptions<DocumentSettings> documentSettings, ICustomLogger customLogger, IOptions<SearchSettings> searchSettings, IConfigurationRoot configuration, IHttpContextAccessor httpContextAccessor, IOptions<LogTables> logTables, IOptions<ErrorSettings> errorSettings) { this.docRepository = docRepository; this.uploadHelperFunctions = uploadHelperFunctions; this.userRepository = userRepository; this.generalSettings = generalSettings.Value; this.documentSettings = documentSettings.Value; this.customLogger = customLogger; this.logTables = logTables.Value; this.errorSettings = errorSettings.Value; this.searchSettings = searchSettings.Value; this.configuration = configuration; this.httpContextAccessor = httpContextAccessor; }