Ejemplo n.º 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;
 }
Ejemplo n.º 2
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;       
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Constructor where all dependencies are injected
        /// </summary>
        /// <param name="errorSettings"></param>
        /// <param name="sharedSettings"></param>
        /// <param name="matterCenterServiceFunctions"></param>
        /// <param name="customLogger"></param>
        /// <param name="logTables"></param>
        /// <param name="sharedRepository"></param>
        public SharedController(IOptions <ErrorSettings> errorSettings,
                                IOptions <SharedSettings> sharedSettings,
                                IMatterCenterServiceFunctions matterCenterServiceFunctions,
                                ICustomLogger customLogger, IOptions <LogTables> logTables,
                                ISharedRepository sharedRepository
                                )
        {
            this.errorSettings = errorSettings.Value;

            this.matterCenterServiceFunctions = matterCenterServiceFunctions;
            this.sharedRepository             = sharedRepository;
            this.customLogger   = customLogger;
            this.logTables      = logTables.Value;
            this.sharedSettings = sharedSettings.Value;
        }
Ejemplo n.º 4
0
 /// <summary>
 /// constructor where are all the dependencies are injected
 /// </summary>
 /// <param name="errorSettings"></param>
 /// <param name="matterCenterServiceFunctions"></param>
 /// <param name="userRepositoy"></param>
 /// <param name="customLogger"></param>
 /// <param name="logTables"></param>
 /// <param name="generalSettings"></param>
  public UserController(IOptions<ErrorSettings> errorSettings,
      IMatterCenterServiceFunctions matterCenterServiceFunctions,
      IUserRepository userRepositoy,
      ICustomLogger customLogger, 
      IOptions<LogTables> logTables,  
      IOptions<GeneralSettings> generalSettings
      )
  {
      this.errorSettings = errorSettings.Value; 
      this.matterCenterServiceFunctions = matterCenterServiceFunctions;            
      this.customLogger = customLogger;
      this.logTables = logTables.Value;             
      this.generalSettings = generalSettings.Value;
      this.userRepositoy = userRepositoy;
  }
Ejemplo n.º 5
0
 /// <summary>
 /// constructor where are all the dependencies are injected
 /// </summary>
 /// <param name="errorSettings"></param>
 /// <param name="matterCenterServiceFunctions"></param>
 /// <param name="userRepositoy"></param>
 /// <param name="customLogger"></param>
 /// <param name="logTables"></param>
 /// <param name="generalSettings"></param>
 public UserController(IOptions <ErrorSettings> errorSettings,
                       IMatterCenterServiceFunctions matterCenterServiceFunctions,
                       IUserRepository userRepositoy,
                       ICustomLogger customLogger,
                       IOptions <LogTables> logTables,
                       IOptions <GeneralSettings> generalSettings
                       )
 {
     this.errorSettings = errorSettings.Value;
     this.matterCenterServiceFunctions = matterCenterServiceFunctions;
     this.customLogger    = customLogger;
     this.logTables       = logTables.Value;
     this.generalSettings = generalSettings.Value;
     this.userRepositoy   = userRepositoy;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Constructor where all dependencies are injected
 /// </summary>
 /// <param name="errorSettings"></param>
 /// <param name="sharedSettings"></param>
 /// <param name="matterCenterServiceFunctions"></param>
 /// <param name="customLogger"></param>
 /// <param name="logTables"></param>
 /// <param name="sharedRepository"></param>
  public SharedController(IOptions<ErrorSettings> errorSettings,
      IOptions<SharedSettings> sharedSettings,            
      IMatterCenterServiceFunctions matterCenterServiceFunctions,            
      ICustomLogger customLogger, IOptions<LogTables> logTables,
      ISharedRepository sharedRepository
      )
  {
      this.errorSettings = errorSettings.Value;            
      
      this.matterCenterServiceFunctions = matterCenterServiceFunctions;
      this.sharedRepository = sharedRepository;
      this.customLogger = customLogger;
      this.logTables = logTables.Value;
      this.sharedSettings = sharedSettings.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="spoAuthorization"></param>
 /// <param name="matterCenterServiceFunctions"></param>
 /// <param name="taxonomyRepository"></param>
 public TaxonomyController(IOptions <ErrorSettings> errorSettings,
                           IOptions <TaxonomySettings> taxonomySettings,
                           IOptions <GeneralSettings> generalSettings,
                           ISPOAuthorization spoAuthorization,
                           IMatterCenterServiceFunctions matterCenterServiceFunctions,
                           ITaxonomyRepository taxonomyRepository, ICustomLogger customLogger, IOptions <LogTables> logTables)
 {
     this.errorSettings                = errorSettings.Value;
     this.taxonomySettings             = taxonomySettings.Value;
     this.generalSettings              = generalSettings.Value;
     this.spoAuthorization             = spoAuthorization;
     this.matterCenterServiceFunctions = matterCenterServiceFunctions;
     this.taxonomyRepository           = taxonomyRepository;
     this.customLogger = customLogger;
     this.logTables    = logTables.Value;
 }
Ejemplo n.º 8
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="spoAuthorization"></param>
 /// <param name="matterCenterServiceFunctions"></param>
 /// <param name="taxonomyRepository"></param>
 public TaxonomyController(IOptions<ErrorSettings> errorSettings, 
     IOptions<TaxonomySettings> taxonomySettings, 
     IOptions<GeneralSettings> generalSettings,
     ISPOAuthorization spoAuthorization, 
     IMatterCenterServiceFunctions matterCenterServiceFunctions,
     ITaxonomyRepository taxonomyRepository, ICustomLogger customLogger, IOptions<LogTables> logTables)
 {
     this.errorSettings = errorSettings.Value;
     this.taxonomySettings = taxonomySettings.Value;
     this.generalSettings = generalSettings.Value;
     this.spoAuthorization = spoAuthorization;
     this.matterCenterServiceFunctions = matterCenterServiceFunctions;            
     this.taxonomyRepository = taxonomyRepository;
     this.customLogger = customLogger;
     this.logTables = logTables.Value;
 }
Ejemplo n.º 9
0
 /// <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;
 }
Ejemplo n.º 10
0
 /// <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;
 }
Ejemplo n.º 11
0
        /// <summary>
        /// Constructor where all the required dependencies are injected
        /// </summary>
        /// <param name="errorSettings"></param>
        /// <param name="generalSettings"></param>
        /// <param name="uiConfigSettings"></param>
        /// <param name="configRepository"></param>
        /// <param name="logTables"></param>
        /// <param name="hostingEnvironment"></param>
        /// <param name="matterCenterServiceFunctions"></param>
        public ConfigController(IOptions <ErrorSettings> errorSettings,
                                IOptions <GeneralSettings> generalSettings,
                                IOptions <UIConfigSettings> uiConfigSettings,
                                IOptions <LogTables> logTables,
                                IMatterCenterServiceFunctions matterCenterServiceFunctions,
                                IConfigRepository configRepository,
                                IHostingEnvironment hostingEnvironment

                                )
        {
            this.errorSettings = errorSettings.Value;
            this.matterCenterServiceFunctions = matterCenterServiceFunctions;
            this.configRepository             = configRepository;
            this.generalSettings    = generalSettings.Value;
            this.uiConfigSettings   = uiConfigSettings.Value;
            this.hostingEnvironment = hostingEnvironment;
        }
Ejemplo n.º 12
0
        /// <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;
        }
Ejemplo n.º 13
0
        /// <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;
        }
Ejemplo n.º 14
0
        /// <summary>
        /// Constructor where all the required dependencies are injected
        /// </summary>
        /// <param name="errorSettings"></param>
        /// <param name="generalSettings"></param>
        /// <param name="uiConfigSettings"></param>
        /// <param name="configRepository"></param>
        /// <param name="logTables"></param>
        /// <param name="hostingEnvironment"></param>
        /// <param name="matterCenterServiceFunctions"></param>
        public ConfigController(IOptions<ErrorSettings> errorSettings,
            IOptions<GeneralSettings> generalSettings,
            IOptions<UIConfigSettings> uiConfigSettings,
            IOptions<LogTables> logTables,
            IMatterCenterServiceFunctions matterCenterServiceFunctions,
            IConfigRepository configRepository,
            IHostingEnvironment hostingEnvironment           

            )
        {
            this.errorSettings = errorSettings.Value;
            this.matterCenterServiceFunctions = matterCenterServiceFunctions;
            this.configRepository = configRepository;
            this.generalSettings = generalSettings.Value;
            this.uiConfigSettings = uiConfigSettings.Value;
            this.hostingEnvironment = hostingEnvironment;
            
        }
Ejemplo n.º 15
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.º 16
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;
 }