public SystemLogViewModel(ISystemLogService CurrentService, BackendDBContext context, IMapper Mapper, TranscationResultHelper transcationResultHelper) { this.CurrentService = CurrentService; this.context = context; mapper = Mapper; TranscationResultHelper = transcationResultHelper; SystemLogSort.Initialization(SortConditions); Toolbaritems.Add(new ItemModel() { Id = ButtonIdHelper.ButtonIdAdd, Text = "新增", TooltipText = "新增", Type = ItemType.Button, PrefixIcon = "mdi mdi-plus-thick", Align = ItemAlign.Left, }); Toolbaritems.Add(new ItemModel() { Id = ButtonIdHelper.ButtonIdRefresh, Text = "重新整理", TooltipText = "重新整理", PrefixIcon = "mdi mdi-refresh", Align = ItemAlign.Left, }); Toolbaritems.Add("Search"); }
public VendorController(IVendorService vendorService, ISystemLogService systemLogService) : base(systemLogService) { vendorService.InitialiseIValidationDictionary(new ModelStateWrapper(ModelState)); _vendorService = vendorService; IService = vendorService; Model = new VendorModel(); }
public TimeInOutService(IConfiguration configuration, IHttpContextAccessor httpContextAccessor, IHostingEnvironment environment, ISystemLogService systemLogService) { _configuration = configuration; _accessor = httpContextAccessor; _environment = environment; _systemLogService = systemLogService; }
public CategoryController(ICodeFileService codeFileService, ISystemLogService systemLogService) : base(systemLogService) { codeFileService.InitialiseIValidationDictionary (new ModelStateWrapper(this.ModelState)); IService = codeFileService; _codeFileService = codeFileService; }
public DepartmentController(IDepartmentService departmentService, ISystemLogService systemLogService) : base(systemLogService) { departmentService.InitialiseIValidationDictionary (new ModelStateWrapper(this.ModelState)); IService = departmentService; _departmentService = departmentService; }
public ReportController(IUserService userService, IUserCodeService userCodeRepo, IAdministrationSecurityService adminSecurityService, ISystemLogService systemLogService) { this.userService = userService; this.userCodeRepo = userCodeRepo; this.adminSecurityService = adminSecurityService; this.systemLogService = systemLogService; }
public EducationController(IEducationService educationService, ISystemLogService systemLogService) : base(systemLogService) { educationService.InitialiseIValidationDictionary( new ModelStateWrapper(ModelState)); _educationService = educationService; IService = educationService; }
public RoomController(IRoomService roomService, ISystemLogService systemLogService) : base(systemLogService) { roomService.InitialiseIValidationDictionary( new ModelStateWrapper(ModelState)); _roomService = roomService; IService = roomService; }
public AccountController( ISystemLogService systemLogService, IAccountService accountService ) : base(systemLogService) { _accountService = accountService; _accountService.InitialiseIValidationDictionary(new ModelStateWrapper(ModelState)); }
public LogController(IUserService userService, IUserContext userContext, ISettingService settingService, IPermissionService permissionService, ISystemLogService systemLogService) { this._userService = userService; this._userContext = userContext; this._settingService = settingService; this._permissionService = permissionService; this._systemLogService = systemLogService; }
public RoleController( IRoleService roleService, ISystemLogService systemLogService, IAppToRoleService appToRoleService) : base(systemLogService) { _roleService = roleService; _appToRoleService = appToRoleService; }
public LogAttribute( ISystemLogService systemLogService, Method method, string programName ) { _systemLogService = systemLogService; _method = method; _programName = programName; }
public DrugVendorController( IDrugVendorService drugVendorService, IDrugService drugService, ISystemLogService systemLogService) : base(systemLogService) { drugVendorService.InitialiseIValidationDictionary (new ModelStateWrapper(this.ModelState)); IService = drugVendorService; _drugService = drugService; }
private static void FilteredLog(ISystemLogService logger, LogLevel level, string message, Exception exception = null, User user = null) { //don't log thread abort exception if (exception is System.Threading.ThreadAbortException) { return; } string fullMessage = exception == null ? string.Empty : exception.ToString(); logger.InsertSystemLog(level, message, fullMessage, user); }
public DashboardController(IUserService userService, IPictureService pictureService, IUserContext userContext, IAuthenticationService authenticationService, IRoleService roleService, IPermissionService permissionService, ICultureHelper cultureHelper, IFeedbackService feedbackService, IEventService eventService, ICommentService commentService, IAuditService auditService, ISystemLogService systemLogService, IReplyService replyService, ISMSService smsService) { this._userService = userService; this._pictureService = pictureService; this._userContext = userContext; this._authenticationService = authenticationService; this._roleService = roleService; this._permissionService = permissionService; this._cultureHelper = cultureHelper; this._feedbackService = feedbackService; this._eventService = eventService; this._commentService = commentService; this._auditService = auditService; this._systemLogService = systemLogService; this._replyService = replyService; this._smsService = smsService; }
public ItemController( IDrugService drugService, IDrugSettingService drugSettingService, IDrugCostService drugCostService, IDrugAppearanceService drugAppearanceService, ICodeFileService codeFileService, ISystemLogService systemLogService) : base(systemLogService) { _modelState = new ModelStateWrapper(ModelState); drugService.InitialiseIValidationDictionary(_modelState); drugSettingService.InitialiseIValidationDictionary(_modelState); drugCostService.InitialiseIValidationDictionary(_modelState); drugAppearanceService.InitialiseIValidationDictionary(_modelState); codeFileService.InitialiseIValidationDictionary(_modelState); _drugService = drugService; _drugSettingService = drugSettingService; _drugCostService = drugCostService; _drugAppearanceService = drugAppearanceService; _codeFileService = codeFileService; }
public GrpcPublisher(ISystemLogService systemLogService) { _systemLogService = systemLogService; _appName = @Assembly.GetEntryAssembly()?.GetName().Name; _appVersion = @Assembly.GetEntryAssembly()?.GetName().Version.ToString(); }
public SettingService(IConfiguration configuration, IHttpContextAccessor httpContextAccessor, ISystemLogService systemLogService) { _configuration = configuration; _accessor = httpContextAccessor; _systemLogService = systemLogService; }
public ValuesController(IMapper mapper, ILogger <ValuesController> logger, ISystemLogService systemLogService) { this._mapper = mapper; this._logger = logger; this._systemLogService = systemLogService; }
public SettingController(ISettingService settingService, ISystemLogService systemLogService) : base(systemLogService) { settingService.InitialiseIValidationDictionary( new ModelStateWrapper(ModelState)); _settingService = settingService; }
public override void Close() { base.Close(); deleteOfficeCommand = null; viewOfficeCommand = null; editOfficeCommand = null; newOfficeCommand = null; pagerViewModel = null; officeList = null; senatorService = null; search = null; _systemLogService = null; Senator = null; senators = null; }
public override void Open() { base.Open(); search = new OfficeSearch { SortColumn = "OfficeNumber", SortDirection = SortDirection.Ascending }; this.senatorService = ServiceFactory.CreateSenatorService(SessionConnection); _systemLogService = ServiceFactory.CreateSystemLogService(SessionConnection); SearchText = ""; GetOffices(); }
public SystemLogActionFilterImpl(ILoggerFactory loggerFactory, ISystemLogService logService) { _logService = logService; }
public BaseWebController(ISystemLogService systemLogService) : base(systemLogService) { }
public DrugController(IDrugSettingService drugSettingService, ISystemLogService systemLogService) : base(systemLogService) { drugSettingService.InitialiseIValidationDictionary(new ModelStateWrapper(ModelState)); _drugSettingService = drugSettingService; }
public LogOnController(ISettingService settingService, IAccountService accountService, ISystemLogService systemLogService) : base(systemLogService) { _settingService = settingService; _accountService = accountService; }
public LogController(ISystemLogService service) { _service = service; }
public FileController(IFileService fileService, ISystemLogService systemLogService) : base(systemLogService) { _fileService = fileService; }
public CompanyService(IConfiguration configuration, IHttpContextAccessor httpContextAccessor, ISystemLogService systemLogService) { _systemLogService = systemLogService; _configuration = configuration; _accessor = httpContextAccessor; }
public SystemlogController(ISystemLogService _service) { service = _service; }
public SystemLogHelper(ISystemLogService systemLogService, IMapper mapper) { SystemLogService = systemLogService; Mapper = mapper; }
public ValuesController(ITransactionService transactionService, ISystemLogService systemLogService) { _transactionService = transactionService; _systemLogService = systemLogService; }