Esempio n. 1
0
 /// <summary>
 /// 初始化用户服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="userRepository">用户仓储</param>
 /// <param name="userManager">用户服务</param>
 public UserService(IGreatWallUnitOfWork unitOfWork, IUserRepository userRepository, IUserManager userManager)
     : base(unitOfWork, userRepository)
 {
     UnitOfWork     = unitOfWork;
     UserRepository = userRepository;
     UserManager    = userManager;
 }
Esempio n. 2
0
 /// <summary>
 /// 初始化角色服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="roleRepository">角色仓储</param>
 /// <param name="roleManager">角色服务</param>
 public RoleService(IGreatWallUnitOfWork unitOfWork, IRoleRepository roleRepository, IRoleManager roleManager)
     : base(unitOfWork, roleRepository)
 {
     UnitOfWork     = unitOfWork;
     RoleRepository = roleRepository;
     RoleManager    = roleManager;
 }
Esempio n. 3
0
 /// <summary>
 /// 初始化资源服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="resourceStore">资源存储器</param>
 /// <param name="moduleRepository">模块仓储</param>
 public QueryModuleService(IGreatWallUnitOfWork unitOfWork, IResourcePoStore resourceStore, IModuleRepository moduleRepository)
     : base(unitOfWork, resourceStore)
 {
     UnitOfWork       = unitOfWork;
     ResourceStore    = resourceStore;
     ModuleRepository = moduleRepository;
 }
Esempio n. 4
0
 /// <summary>
 /// 初始化用户仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public UserRepository(IGreatWallUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
Esempio n. 5
0
 /// <summary>
 /// 初始化应用程序服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="applicationRepository">应用程序仓储</param>
 public ApplicationService(IGreatWallUnitOfWork unitOfWork, IApplicationRepository applicationRepository)
     : base(unitOfWork, applicationRepository)
 {
     ApplicationRepository = applicationRepository;
 }
Esempio n. 6
0
 /// <summary>
 /// 初始化模块服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="moduleRepository">模块仓储</param>
 public ModuleService(IGreatWallUnitOfWork unitOfWork, IModuleRepository moduleRepository)
 {
     UnitOfWork       = unitOfWork;
     ModuleRepository = moduleRepository;
 }
Esempio n. 7
0
 /// <summary>
 /// 初始化Api资源服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="apiResourceRepository">Api资源仓储</param>
 public ApiResourceService(IGreatWallUnitOfWork unitOfWork, IApiResourceRepository apiResourceRepository)
 {
     UnitOfWork            = unitOfWork;
     ApiResourceRepository = apiResourceRepository;
 }
Esempio n. 8
0
 /// <summary>
 /// 初始化声明仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public ClaimRepository(IGreatWallUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
Esempio n. 9
0
 /// <summary>
 /// 初始化身份资源服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="identityResourceRepository">身份资源仓储</param>
 public IdentityResourceService(IGreatWallUnitOfWork unitOfWork, IIdentityResourceRepository identityResourceRepository)
 {
     UnitOfWork = unitOfWork;
     IdentityResourceRepository = identityResourceRepository;
 }
 /// <summary>
 /// 初始化应用程序仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public ApplicationRepository(IGreatWallUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
Esempio n. 11
0
 /// <summary>
 /// 初始化应用程序服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="applicationRepository">应用程序仓储</param>
 public ApplicationService(IGreatWallUnitOfWork unitOfWork, IApplicationRepository applicationRepository)
 {
     UnitOfWork            = unitOfWork;
     ApplicationRepository = applicationRepository;
 }
Esempio n. 12
0
 /// <summary>
 /// 初始化资源存储器
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public ResourcePoStore(IGreatWallUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
Esempio n. 13
0
 /// <summary>
 /// 初始化用户服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="userRepository">用户仓储</param>
 public UserService(IGreatWallUnitOfWork unitOfWork, IUserRepository userRepository)
     : base(unitOfWork, userRepository)
 {
     UserRepository = userRepository;
 }
Esempio n. 14
0
 /// <summary>
 /// 初始化权限仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public PermissionRepository(IGreatWallUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
Esempio n. 15
0
 /// <summary>
 /// 初始化角色仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public RoleRepository(IGreatWallUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
Esempio n. 16
0
 /// <summary>
 /// 初始化声明服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="claimRepository">声明仓储</param>
 public ClaimService(IGreatWallUnitOfWork unitOfWork, IClaimRepository claimRepository)
     : base(unitOfWork, claimRepository)
 {
     ClaimRepository = claimRepository;
 }
Esempio n. 17
0
 /// <summary>
 /// 初始化安全服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="signInManager">登录服务</param>
 /// <param name="userManager">用户服务</param>
 public SecurityService(IGreatWallUnitOfWork unitOfWork, ISignInManager signInManager, IUserManager userManager)
 {
     UnitOfWork    = unitOfWork;
     SignInManager = signInManager;
     UserManager   = userManager;
 }
Esempio n. 18
0
 /// <summary>
 /// 初始化权限服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="permissionManager">权限服务</param>
 /// <param name="permissionRepository">权限仓储</param>
 public PermissionService(IGreatWallUnitOfWork unitOfWork, IPermissionManager permissionManager, IPermissionRepository permissionRepository)
 {
     GreatWallUnitOfWork  = unitOfWork;
     PermissionManager    = permissionManager;
     PermissionRepository = permissionRepository;
 }
Esempio n. 19
0
 /// <summary>
 /// 初始化应用程序存储器
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public ApplicationPoStore(IGreatWallUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }