public MermberManager(IUserInfoService userInfoService, IUserTicketService userTicketService, IUserClientTypeQueryService userClientTypeQueryService, IPowerManager powerManager, IRoleManager roleManager, ICacheManager cacheManager, IUserPowerStore userPowerStore, IMemberPowerStore memberPowerStore, IMemberQueryService memberQueryService, IMemberAppService memberAppService, IConLogQueryService conLogQueryService, IAuthRankQueryService authRankQueryService) : base(userInfoService, userTicketService, userClientTypeQueryService, powerManager, roleManager, cacheManager, userPowerStore, memberAppService, conLogQueryService, authRankQueryService) { _memberPowerStore = memberPowerStore; _memberQueryService = memberQueryService; }
public MemberAppService_Tests() { _memberAppService = LocalIocManager.Resolve <IMemberAppService>(); _memberRepository = LocalIocManager.Resolve <IMemberRepository>(); _userRepository = LocalIocManager.Resolve <IRepository <User, long> >(); _userAppService = LocalIocManager.Resolve <IUserAppService>(); }
public PostController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); attachService = new AttachmentService(); appService = new SiteAppService(); HideLayout( typeof( wojilu.Web.Controller.Content.LayoutController ) ); }
public static IMemberAppService GetUserAppService(Type ownerType) { IMemberAppService obj = null; GetAppServiceMap().TryGetValue(ownerType, out obj); return(obj); }
public MembersController(ILogger logger , IMemberAppService memberService , IUserStateWrapper userStateWrapper ) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _memberService = memberService ?? throw new ArgumentNullException(nameof(memberService)); _userStateWrapper = userStateWrapper ?? throw new ArgumentNullException(nameof(userStateWrapper)); }
public RechargeController(IChainStoreAppService storeAppService, IAbpSession AbpSession, ISessionAppService sessionAppService, IMemberAppService memberService, IAccountAppService userAccountManager) { _storeAppService = storeAppService; _AbpSession = AbpSession; _userAccountManager = userAccountManager; _sessionAppService = sessionAppService; }
public PostController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); attachService = new AttachmentService(); appService = new SiteAppService(); HideLayout(typeof(wojilu.Web.Controller.Content.LayoutController)); }
public MemberController(IMemberAppService AppService, IMemberLevelAppService levelAppService, IBusinessAppService businessAppService, IChainStoreAppService storeAppService, ICommonAppService comAppService) { _AppService = AppService; _levelAppService = levelAppService; _businessAppService = businessAppService; _storeAppService = storeAppService; _comAppService = comAppService; }
public static Boolean CanAppAdmin(IUser user, IMember owner, Type appType, int appInstanceId) { int roleId = ((User)user).RoleId; IMemberAppService appService = ServiceMap.GetUserAppService(owner.GetType()); IMemberApp app = appService.GetByApp(appType, appInstanceId); return(IsRoleInApp(roleId, app.Id)); }
public CapitalNoteAppService(ISqlExecuter sqlExecuter, IMemberAppService memAppServices, IRepository <Entity.ChainStoreCapitalNote, long> Repository, IAbpSession AbpSession) { _sqlExecuter = sqlExecuter; _Repository = Repository; _AbpSession = AbpSession; _memAppServices = memAppServices; LocalizationSourceName = UnionMallConsts.LocalizationSourceName; }
public CouponAppService(ISqlExecuter sqlExecuter, IMemberAppService memAppServices, IRepository <Entity.Coupon, long> Repository, IReceiveStatisticsAppService reciveNoteAppSerivece, IAbpSession AbpSession) { _sqlExecuter = sqlExecuter; _Repository = Repository; _AbpSession = AbpSession; _memAppServices = memAppServices; _reciveNoteAppSerivece = reciveNoteAppSerivece; LocalizationSourceName = UnionMallConsts.LocalizationSourceName; }
public GoodsConsumeController(IGoodsCategoryAppService catAppService, IGoodsAppService AppService, ICommonAppService comService, IReceiveStatisticsAppService copAppService, ISpecObjectAppService specAppService, IMemberAppService memAppService, IParameterAppService parService) { _catAppService = catAppService; _AppService = AppService; _comService = comService; _specAppService = specAppService; _copAppService = copAppService; _memAppService = memAppService; _parService = parService; }
public MainController(ICommonAppService comService, IConsumeNoteAppService consumeService, IMemberLevelAppService levelService, IWeChatPayNoteAppService weiService, IAliPayNoteAppService aliService, IMemberAppService memService) { _comService = comService; _levelService = levelService; _memService = memService; _consumeService = consumeService; _weiService = weiService; _aliService = aliService; }
public MemberController(ILogger logger , ISigninManager signinManager , IExternalAuthenticationProvider externalAuthenticationProvider , IMemberAppService memberService , IUserStateWrapper userStateWrapper ) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _signinManager = signinManager ?? throw new ArgumentNullException(nameof(signinManager)); _externalAuthenticationProvider = externalAuthenticationProvider ?? throw new ArgumentNullException(nameof(externalAuthenticationProvider)); _memberService = memberService ?? throw new ArgumentNullException(nameof(memberService)); _userStateWrapper = userStateWrapper ?? throw new ArgumentNullException(nameof(userStateWrapper)); }
public MembersController(IMemberAppService memberAppService, rooferlocator.com.Users.UserManager userManager, IRoofTypeAppService roofTypeService, IServiceTypeAppService serviceTypeService, rooferlocator.com.Common.Companies.ICompanyAppService companyService2, rooferlocator.com.Common.Types.ILocationAppService locationService) { _memberAppService = memberAppService; _userManager = userManager; _roofTypeService = roofTypeService; _serviceTypeService = serviceTypeService; _companyService2 = companyService2; _locationService = locationService; }
protected BaseApiController(ICommandService commandService) { _commandService = commandService; _lotteryQueryService = ObjectContainer.Resolve <ILotteryQueryService>(); _lotterySession = NullLotterySession.Instance; _logger = NullLotteryLogger.Instance; _memberAppService = ObjectContainer.Resolve <IMemberAppService>(); if (_lotterySession.SystemType == SystemType.App) { InitLotteryInfo(); _userMemberRank = _memberAppService.GetUserMemRank(_lotterySession.UserId, _lotterySession.SystemTypeId); } }
public CardCoreController(IMemberAppService AppService, IConsumeNoteAppService consumeService, ICommonAppService comAppService, IIntegralNoteAppService integralService, IGoodsOrderAppService orderAppService, IBalanceNoteAppService balanceService, IUsedStatisticsAppService useService, IMemberLevelAppService levelAppService, CouponAppService couponService, IChainStoreAppService storeAppService) { _AppService = AppService; _consumeService = consumeService; _comAppService = comAppService; _integralService = integralService; _balanceService = balanceService; _orderAppService = orderAppService; _useService = useService; _levelAppService = levelAppService; _storeAppService = storeAppService; _couponService = couponService; }
public AccountController( TenantManager tenantManager, UserManager userManager, RoleManager roleManager, IUnitOfWorkManager unitOfWorkManager, IMultiTenancyConfig multiTenancyConfig, IMemberAppService memberAppService, IRoofTypeAppService roofTypeAppService, IServiceTypeAppService serviceTypeAppService, ILocationAppService locationAppService) { _tenantManager = tenantManager; _userManager = userManager; _roleManager = roleManager; _unitOfWorkManager = unitOfWorkManager; _multiTenancyConfig = multiTenancyConfig; _memberAppService = memberAppService; _roofTypeService = roofTypeAppService; _serviceTypeService = serviceTypeAppService; _locationService = locationAppService; }
public UserManager(IUserInfoService userInfoService, IUserTicketService userTicketService, IUserClientTypeQueryService userClientTypeQueryService, IPowerManager powerManager, IRoleManager roleManager, ICacheManager cacheManager, IUserPowerStore userPowerStore, IMemberAppService memberAppService, IConLogQueryService conLogQueryService, IAuthRankQueryService authRankQueryService) { _userInfoService = userInfoService; _userTicketService = userTicketService; _userClientTypeQueryService = userClientTypeQueryService; _powerManager = powerManager; _roleManager = roleManager; _cacheManager = cacheManager; _userPowerStore = userPowerStore; _memberAppService = memberAppService; _conLogQueryService = conLogQueryService; _authRankQueryService = authRankQueryService; }
private static Dictionary <Type, IMemberAppService> getMemberAppServiceMap() { Dictionary <Type, IMemberAppService> map = new Dictionary <Type, IMemberAppService>(); foreach (KeyValuePair <String, Type> kv in ObjectContext.Instance.TypeList) { if (kv.Value.IsAbstract) { continue; } if (rft.IsInterface(kv.Value, typeof(IMemberAppService)) == false) { continue; } IMemberAppService obj = ObjectContext.CreateObject(kv.Value) as IMemberAppService; map.Add(obj.GetMemberType(), obj); } return(map); }
public HomeController(IMemberAppService memberAppService, rooferlocator.com.Users.UserManager userManager) { _memberAppService = memberAppService; _userManager = userManager; }
public FeedAdminController() { feedService = new FeedService(); userService = new UserService(); siteAppService = new SiteAppService(); }
public DashboardController() { userService = new UserService(); siteAppService = new SiteAppService(); }
public GLinkController() { userAppService = new GroupAppService(); }
public MyLinkController() { userAppService = new UserAppService(); }
public MemberRegController(IMemberLevelAppService levelAppService, IMemberAppService memberAppService) { _levelAppService = levelAppService; _memberAppService = memberAppService; }
public MembersController(IMemberAppService service) { _service = service; }
public MembersController(IMemberAppService memberAppService) { _memberAppService = memberAppService; }
public AppAuthFilter(string desc) { _desc = desc; _lotterySession = NullLotterySession.Instance; _memberAppService = ObjectContainer.Resolve <IMemberAppService>(); }