static BizFactory() { // 有顺序! roleBiz = new RoleBiz(); accountBiz = new AccountBiz(); battleRoomBiz = new BattleRoomBiz(); }
public UserManagementDomainService() { _context = new WindowsStoreContext(); NaturalPersonBiz = new NaturalPersonBiz(_context); LegalPersonBiz = new LegalPersonBiz(_context); MembershipBiz = new MembershipBiz(_context); PersonBiz = new PersonBiz(_context); RoleBiz = new RoleBiz(_context); }
public ClaimsPrincipalFactory(IUserClaimBiz userClaims, IRoleBiz roleBiz) { _userClaimBiz = userClaims; _roleBiz = roleBiz; }
public RoleController(IRoleBiz roleBiz) { _roleBiz = roleBiz; }