public SessionOperationWebApiActionFilterAttribute(IPrincipalService principalService, ISessionManagmentService sessionManagmentService, ISessionOperationLogService sessionOperationLogService, IDiagnosticsTracingService diagnosticsTracingService) { this._principalService = principalService; this._sessionOperationLogService = sessionOperationLogService; this._diagnosticsTracingService = diagnosticsTracingService; _sessionManagmentService = sessionManagmentService; }
/// <summary> /// Initializes a new instance of the <see cref="WebApiFilterConfig"/> class. /// <para> /// Invoked from <see cref="StartupExtended.Configure"/>. /// </para> /// </summary> /// <param name="sessionOperationLogService">The session operation log service.</param> /// <param name="principalService">The principal service.</param> /// <param name="configurationStepService">The configuration step service.</param> public WebApiFilterConfig( ISessionManagmentService sessionManagmentService, IDiagnosticsTracingService diagnosticsTracingService, ISessionOperationLogService sessionOperationLogService, IPrincipalService principalService, IConfigurationStepService configurationStepService, IContextService contextService) { this._diagnosticsTracingService = diagnosticsTracingService; this._sessionOperationLogService = sessionOperationLogService; this._principalService = principalService; this._configurationStepService = configurationStepService; _contextService = contextService; _sessionManagmentService = sessionManagmentService; }
/// <summary> /// Initializes a new instance of the <see cref="WebMvcFilterConfig"/> class. /// <para> /// Invoked from <see cref="WebMvcConfig.Configure"/>. /// </para> /// <para> /// Note that by default ASP.NET does not manage static files -- until (RAMMFAR) /// `configuration/system.webServer/modules @runAllManagedModulesForAllRequests = "false"` /// is set in the config file(`true` is the default in this app, but this hamper debugging /// of the first install.) /// </para> /// </summary> /// <param name="sessionOperationLogService">The session operation log service.</param> /// <param name="principalService">The principal service.</param> /// <param name="configurationStepService">The configuration step service.</param> /// <param name="dbContexCommenttWebMvcActionFilterAttribute">The database contex commentt web MVC action filter attribute.</param> /// <param name="contextService"></param> public WebMvcFilterConfig( ISessionManagmentService sessionManagmentService, IDiagnosticsTracingService diagnosticsTracingService, ISessionOperationLogService sessionOperationLogService, IPrincipalService principalService, IConfigurationStepService configurationStepService, DbContextCommittWebMvcActionFilterAttribute dbContexCommenttWebMvcActionFilterAttribute, IContextService contextService) { this._diagnosticsTracingService = diagnosticsTracingService; this._sessionOperationLogService = sessionOperationLogService; this._principalService = principalService; this._configurationStepService = configurationStepService; this._dbContexCommenttWebMvcActionFilterAttribute = dbContexCommenttWebMvcActionFilterAttribute; _contextService = contextService; _sessionManagmentService = sessionManagmentService; }