Example #1
0
 /// <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>
 /// 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>
        /// 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;
        }
        /// <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;
        }