コード例 #1
0
ファイル: UI1Controller.cs プロジェクト: war-man/alpha_net
 public UI1Controller(EIMDBContext context, IOptions <AppSettings> appSettings, IHostingEnvironment hostingEnvironment, IActionLogService actionLog)
 {
     _context            = context;
     _hostingEnvironment = hostingEnvironment;
     _actionLog          = actionLog;
     _appSettings        = appSettings.Value;
 }
コード例 #2
0
 public ApplicationController(EIMDBContext context, ILogger <ApplicationController> logger, IHostingEnvironment hostingEnvironment, IActionLogService actionLog)
 {
     _context            = context;
     _logger             = logger;
     _hostingEnvironment = hostingEnvironment;
     _actionLog          = actionLog;
 }
コード例 #3
0
        public AccountController(IAccountService accountService, ISessionService sessionService, ILoginHistoryService loginHistoryService, IEmailServerSettingService emailServerSettingService,
                                 IActionLogService actionLogService, ITokenService tokenService)
        {
            if (accountService == null)
            {
                throw new ArgumentNullException("AccountController.accountService");
            }
            if (sessionService == null)
            {
                throw new ArgumentNullException("AccountController.sessionService");
            }
            if (loginHistoryService == null)
            {
                throw new ArgumentNullException("AccountController.loginHistoryService");
            }
            if (emailServerSettingService == null)
            {
                throw new ArgumentNullException("AccountController.emailServerSettingService");
            }
            if (actionLogService == null)
            {
                throw new ArgumentNullException("AccountController.actionLogService");
            }
            if (tokenService == null)
            {
                throw new ArgumentNullException("AccountController.tokenService");
            }

            this._accountService            = accountService;
            this._sessionService            = sessionService;
            this._loginHistoryService       = loginHistoryService;
            this._emailServerSettingService = emailServerSettingService;
            this._actionLogService          = actionLogService;
            this._tokenService = tokenService;
        }
コード例 #4
0
ファイル: RelayDataService.cs プロジェクト: pashaiva/psub.Web
 public RelayDataService(IRepository<RelayData> relayDataRepository,
     IRepository<ControlObject> controlObjectRepository,
     IActionLogService actionLogService)
 {
     _relayDataRepository = relayDataRepository;
     _controlObjectRepository = controlObjectRepository;
     _actionLogService = actionLogService;
 }
コード例 #5
0
 public AuthService(
     IUserRepository userRepository, IActionLogService actionLogService, IJwtAuth jwt
     )
 {
     _actionLogService = actionLogService;
     _userRepository   = userRepository;
     _jwt = jwt;
 }
コード例 #6
0
 public task010Controller(EIMDBContext context, ILogger <task010Controller> logger, IOptions <AppSettings> appSettings, IHostingEnvironment hostingEnvironment, IActionLogService actionLog)
 {
     _context            = context;
     _logger             = logger;
     _hostingEnvironment = hostingEnvironment;
     _actionLog          = actionLog;
     _appSettings        = appSettings.Value;
 }
コード例 #7
0
        //public int CountCompany { get; set; }
        //public int CountArticles { get; set; }
        //public int CountExceptionToday { get; set; }

        public ProfileController(IUserProfileService _userSrv, IExceptionService _excepSrv, IOrganizationService _orgSrv
                                 , IUserProfileService userSrv,
                                 IActionLogService _actionlogSrv) : base(userSrv)
        {
            this.userSrv      = _userSrv;
            this.excepSrv     = _excepSrv;
            this.orgSrv       = _orgSrv;
            this.actionLogSrv = _actionlogSrv;
        }
コード例 #8
0
 public CategoryController(EIMDBContext context, IUploadService upload, ILogger <CategoryController> logger, IOptions <AppSettings> appSettings, IHostingEnvironment hostingEnvironment, IActionLogService actionLog)
 {
     _context            = context;
     _logger             = logger;
     _hostingEnvironment = hostingEnvironment;
     _actionLog          = actionLog;
     _appSettings        = appSettings.Value;
     _upload             = upload;
 }
コード例 #9
0
 public RoleController(IOptions <AppSettings> appSettings, EIMDBContext context, UserManager <AspNetUser> userManager, RoleManager <AspNetRole> roleManager, ILogger <RoleController> logger, IActionLogService actionLog)
 {
     _userManager = userManager;
     _context     = context;
     _roleManager = roleManager;
     _appSettings = appSettings.Value;
     _logger      = logger;
     _actionLog   = actionLog;
 }
コード例 #10
0
 public ControlObjectService(IRepository<ControlObject> controlObjectRepository,
     IDataParameterService dataParameterService,
     IRelayDataService relayDataService,
      IActionLogService actionLogService)
 {
     _controlObjectRepository = controlObjectRepository;
     _dataParameterService = dataParameterService;
     _relayDataService = relayDataService;
     _actionLogService = actionLogService;
 }
コード例 #11
0
 public PublicationController(IMediator mediator,
     IActionLogService actionLogService,
     IPublicationCommentService publicationCommentService,
     IUserService userService)
 {
     _mediator = mediator;
     _actionLogService = actionLogService;
     _publicationCommentService = publicationCommentService;
     _userService = userService;
 }
コード例 #12
0
 public ControlObjectController(IUserService userService,
     IControlObjectService controlObjectService,
     IDataParameterService dataParameterService,
     IRelayDataService relayDataService,
     IActionLogService actionLogService)
 {
     _userService = userService;
     _controlObjectService = controlObjectService;
     _dataParameterService = dataParameterService;
     _relayDataService = relayDataService;
     _actionLogService = actionLogService;
 }
コード例 #13
0
 public CatalogController(IMediator mediator,
     IActionLogService actionLogService,
     ICatalogCommentService catalogCommentService,
     IUserService userService,
     IFileService fileService)
 {
     _mediator = mediator;
     _actionLogService = actionLogService;
     _catalogCommentService = catalogCommentService;
     _userService = userService;
     _fileService = fileService;
 }
コード例 #14
0
 public PermissionResourceController(EIMDBContext context, ILogger <PermissionResourceController> logger, IActionLogService actionLog)
 {
     _context   = context;
     _logger    = logger;
     _actionLog = actionLog;
 }
コード例 #15
0
 public OrganizationController(EIMDBContext context, ILogger <OrganizationController> logger, IActionLogService actionLog)
 {
     _context   = context;
     _logger    = logger;
     _actionLog = actionLog;
 }
コード例 #16
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 /// <param name="actionLogService"></param>
 public ActionLogController(IActionLogService actionLogService)
 {
     _actionLogService = actionLogService;
 }
コード例 #17
0
 public PermissionUserController(EIMDBContext context, IActionLogService actionLog)
 {
     _context   = context;
     _actionLog = actionLog;
 }
コード例 #18
0
 public ActionLogManagementController(IActionLogService ActionLogService)
 {
     this._actionLogService = ActionLogService;
 }
コード例 #19
0
 /// <summary>
 /// 初始化日志记录框架
 /// </summary>
 /// <param name="actionLogService"></param>
 public LogFilter(IActionLogService actionLogService)
 {
     _actionLogService = actionLogService;
 }
コード例 #20
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 /// <param name="next"></param>
 /// <param name="actionLogService"></param>
 public BaseResponseMiddleware(RequestDelegate next, IActionLogService actionLogService)
 {
     _next             = next;
     _actionLogService = actionLogService;
 }
コード例 #21
0
 public ActionLogController(IActionLogService actionLogService, ISubModuleItemService subModuleItemService, IRoleSubModuleItemService roleSubModuleItemService)
 {
     this.actionLogService         = actionLogService;
     this.subModuleItemService     = subModuleItemService;
     this.roleSubModuleItemService = roleSubModuleItemService;
 }