示例#1
0
 public DistrictController(IProvinceService provinceService, IDistrictService districtService, IDeviceService deviceService, IExceptionLogService errorService) : base(errorService)
 {
     this._errorService    = errorService;
     this._districtService = districtService;
     this._provinceService = provinceService;
     this._deviceService   = deviceService;
 }
示例#2
0
 public WelcomeController(IArticleService Articledb, IUserService Userdb, ILoginLogService LoginLogdb, IExceptionLogService ExLogdb, IAdvertService Advertdb)
 {
     this.Articledb  = Articledb;
     this.Userdb     = Userdb;
     this.LoginLogdb = LoginLogdb;
     this.ExLogdb    = ExLogdb;
     this.Advertdb   = Advertdb;
 }
示例#3
0
 public ApplicationGroupController(IExceptionLogService errorService,
                                   IApplicationRoleService appRoleService,
                                   ApplicationUserManager userManager,
                                   IApplicationGroupService appGroupService) : base(errorService)
 {
     _appGroupService = appGroupService;
     _appRoleService  = appRoleService;
     _userManager     = userManager;
 }
        public DeviceController(IDistrictService districtService, IDeviceService deviceService, ApplicationUserManager userManager, IApplicationRoleService applicationRoleService, IExceptionLogService errorService) : base(errorService)
        {
            this._errorService = errorService;

            this._districtService = districtService;

            this._userManager            = userManager;
            this._applicationRoleService = applicationRoleService;

            this._deviceService = deviceService;
        }
 private static decimal backPoint = 1m;   //返现比例
 public ZJ_RebateService(IExceptionLogService _exceptionLogService, ILogger _logger, IParameterSetService _parameterSetService)
 {
     exceptionLogService = _exceptionLogService;
     logger = _logger;
     parameterSetService = _parameterSetService;
     try
     {
         int.TryParse(parameterSetService.GetParametePValueById(7529218804).Data, out isFixedDays);
         int.TryParse(parameterSetService.GetParametePValueById(7529218793).Data, out backDays);
         decimal.TryParse(parameterSetService.GetParametePValueById(7529218877).Data, out backPoint);
     }
     catch (Exception ex)
     {
     }
 }
 public AppUserService(ProjectDbContext dbContext,
                       IMapper mapper,
                       IExceptionLogService exceptionLogService,
                       TokenValidationParameters tokenValidationParameters,
                       IJwtFactory jwtFactory,
                       IOptions <JwtIssuerOptions> jwtOptions,
                       JwtSettings jwtSettings,
                       IConfiguration configuration)
 {
     _dbContext                 = dbContext;
     _mapper                    = mapper;
     _exceptionLogService       = exceptionLogService;
     _tokenValidationParameters = tokenValidationParameters;
     _jwtFactory                = jwtFactory;
     _jwtOptions                = jwtOptions.Value;
     _jwtSettings               = jwtSettings;
     _configuration             = configuration;
 }
 public DataPackageController(IExceptionLogService errorService, IDataPackageService dataPackageService, IWarningProfileService warningProfileService) : base(errorService)
 {
     _errorService          = errorService;
     _dataPackageService    = dataPackageService;
     _warningProfileService = warningProfileService;
 }
示例#8
0
 public HomeController(IExceptionLogService errorService) : base(errorService)
 {
     this._errorService = errorService;
 }
示例#9
0
 public ActivityLogController(IActivityLogService activityLogService, IExceptionLogService errorService) : base(errorService)
 {
     this._activityLogService = activityLogService;
     this._errorService       = errorService;
 }
 public WarningProfileController(IExceptionLogService errorService, IWarningProfileService warningProfileService, ApplicationUserManager userManager) : base(errorService)
 {
     _warningProfileService = warningProfileService;
     _userManager           = userManager;
     _errorService          = errorService;
 }
示例#11
0
 public GlobalExceptionsFilter(IHostingEnvironment env, IExceptionLogService db)
 {
     _env    = env;
     this.db = db;
 }
示例#12
0
 public ExceptionLogController(IExceptionLogService exceptionLogService)
 {
     this.exceptionLogService = exceptionLogService;
 }
示例#13
0
 public MessengerService(IApiService apiService, IExceptionLogService exceptionLogService)
 {
     _apiService          = apiService;
     _exceptionLogService = exceptionLogService;
 }
示例#14
0
 public ApiControllerBase(IExceptionLogService errorService)
 {
     this._errorService = errorService;
 }
示例#15
0
 public ExceptionLogController(IExceptionLogService db)
 {
     this.db = db;
 }