/// <summary> /// 构造函数 /// </summary> /// <param name="configuration">配置实例</param> /// <param name="serviceProvider">服务提供程序</param> public UserManager(IConfiguration configuration, IServiceProvider serviceProvider) : base(configuration) { this.serviceProvider = serviceProvider; operateHistoryManager = serviceProvider.GetRequiredService <IOperateHistoryManager>(); userRoleManager = serviceProvider.GetRequiredService <UserRoleManager>(); userTokenManager = serviceProvider.GetRequiredService <UserTokenManager>(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="configuration">配置实例</param> /// <param name="serviceProvider">数据提供程序</param> public RoleManager(IConfiguration configuration, IServiceProvider serviceProvider) : base(configuration, serviceProvider) { roleModuleManager = serviceProvider.GetRequiredService <RoleModuleManager>(); merchantManager = serviceProvider.GetRequiredService <IMerchantManager>(); userRoleManager = serviceProvider.GetRequiredService <UserRoleManager>(); operateHistoryManager = serviceProvider.GetRequiredService <IOperateHistoryManager>(); moduleManager = serviceProvider.GetRequiredService <System.BusinessLogic.IModuleManager>(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="configuration">配置实例</param> /// <param name="serviceProvider">数据提供程序</param> public RoleManager(IConfiguration configuration, IServiceProvider serviceProvider) : base(configuration) { this.serviceProvider = serviceProvider; roleModuleManager = serviceProvider.GetRequiredService <RoleModuleManager>(); userRoleManager = serviceProvider.GetRequiredService <UserRoleManager>(); operateHistoryManager = serviceProvider.GetRequiredService <IOperateHistoryManager>(); moduleManager = serviceProvider.GetRequiredService <IModuleManager>(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="configuration">配置实例</param> /// <param name="serviceProvider">服务提供程序</param> public UserManager(IConfiguration configuration, IServiceProvider serviceProvider) : base(configuration, serviceProvider) { roleManager = serviceProvider.GetRequiredService <IRoleManager>(); parameterManager = serviceProvider.GetRequiredService <IParameterManager>(); operateHistoryManager = serviceProvider.GetRequiredService <IOperateHistoryManager>(); userRoleManager = serviceProvider.GetRequiredService <UserRoleManager>(); userDepartmentManager = serviceProvider.GetRequiredService <UserDepartmentManager>(); userTokenManager = serviceProvider.GetRequiredService <UserTokenManager>(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="configuration">配置实例</param> /// <param name="operateHistoryManager">操作日志业务逻辑</param> public DistrictManager(IConfiguration configuration, IOperateHistoryManager operateHistoryManager) : base(configuration) { this.operateHistoryManager = operateHistoryManager; }
/// <summary> /// 构造函数 /// </summary> /// <param name="configuration">配置实例</param> /// <param name="serviceProvider">数据提供程序</param> public DepartmentManager(IConfiguration configuration, IServiceProvider serviceProvider) : base(configuration, serviceProvider) { operateHistoryManager = serviceProvider.GetRequiredService <IOperateHistoryManager>(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="configuration">配置实例</param> /// <param name="operateHistoryManager">操作日志业务逻辑</param> public ProvinceManager(IConfiguration configuration, IOperateHistoryManager operateHistoryManager) : base(configuration) { this.operateHistoryManager = operateHistoryManager; }
/// <summary> /// 构造函数 /// </summary> /// <param name="configuration">配置实例</param> /// <param name="serviceProvider">数据提供程序</param> public VersionManager(IConfiguration configuration, IServiceProvider serviceProvider) : base(configuration) { this.serviceProvider = serviceProvider; versionModuleManager = serviceProvider.GetRequiredService <VersionModuleManager>(); operateHistoryManager = serviceProvider.GetRequiredService <IOperateHistoryManager>(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="configuration">配置实例</param> /// <param name="operateHistoryManager">操作日志业务逻辑</param> public ParameterManager(IConfiguration configuration, IOperateHistoryManager operateHistoryManager) : base(configuration) { this.operateHistoryManager = operateHistoryManager; }