Exemple #1
0
 /// <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>();
 }
Exemple #2
0
 /// <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>();
 }
Exemple #3
0
 /// <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>();
 }
Exemple #4
0
 /// <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>();
 }
Exemple #5
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="configuration">配置实例</param>
 /// <param name="operateHistoryManager">操作日志业务逻辑</param>
 public DistrictManager(IConfiguration configuration, IOperateHistoryManager operateHistoryManager) : base(configuration)
 {
     this.operateHistoryManager = operateHistoryManager;
 }
Exemple #6
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="configuration">配置实例</param>
 /// <param name="serviceProvider">数据提供程序</param>
 public DepartmentManager(IConfiguration configuration, IServiceProvider serviceProvider) : base(configuration, serviceProvider)
 {
     operateHistoryManager = serviceProvider.GetRequiredService <IOperateHistoryManager>();
 }
Exemple #7
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="configuration">配置实例</param>
 /// <param name="operateHistoryManager">操作日志业务逻辑</param>
 public ProvinceManager(IConfiguration configuration, IOperateHistoryManager operateHistoryManager) : base(configuration)
 {
     this.operateHistoryManager = operateHistoryManager;
 }
Exemple #8
0
 /// <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>();
 }
Exemple #9
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="configuration">配置实例</param>
 /// <param name="operateHistoryManager">操作日志业务逻辑</param>
 public ParameterManager(IConfiguration configuration, IOperateHistoryManager operateHistoryManager) : base(configuration)
 {
     this.operateHistoryManager = operateHistoryManager;
 }