当前位置: 首页>>代码示例>>C#>>正文


C# IMembershipService类代码示例

本文整理汇总了C#中IMembershipService的典型用法代码示例。如果您正苦于以下问题:C# IMembershipService类的具体用法?C# IMembershipService怎么用?C# IMembershipService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IMembershipService类属于命名空间,在下文中一共展示了IMembershipService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: CustomerService

 public CustomerService(IOrchardServices orchardServices, IMembershipService membershipService, IClock clock, IOrderService orderService)
 {
     _orchardServices = orchardServices;
     _membershipService = membershipService;
     _clock = clock;
     _orderService = orderService;
 }
开发者ID:davegardner,项目名称:Cascade.WebShop,代码行数:7,代码来源:CustomerService.cs

示例2: TagController

 public TagController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService, ITopicTagService topicTagService, ICategoryService categoryService, ICacheService cacheService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _topicTagService = topicTagService;
     _categoryService = categoryService;
     _cacheService = cacheService;
 }
开发者ID:huchao007,项目名称:mvcforum,代码行数:7,代码来源:TagController.cs

示例3: AccountController

 /// <summary>
 /// Initializes a new instance of the <see cref="AccountController"/> class.
 /// </summary>
 /// <param name="formsAuthenticationService">The forms authentication service.</param>
 /// <param name="membershipService">The membership service.</param>
 public AccountController(
     IFormsAuthenticationService formsAuthenticationService, 
     IMembershipService membershipService)
 {
     this.MembershipService = membershipService;
     this.FormsService = formsAuthenticationService;
 }
开发者ID:nectide,项目名称:ninject.web.mvc,代码行数:12,代码来源:AccountController.cs

示例4: AuditPusherToGitNotes

 public AuditPusherToGitNotes(IHookReceivePack next, IGitRepositoryLocator repoLocator, Bonobo.Git.Server.Data.IRepositoryRepository repoConfig, IMembershipService userRepo)
 {
     this.next = next;
     this.repoLocator = repoLocator;
     this.repoConfig = repoConfig;
     this.userRepo = userRepo;
 }
开发者ID:Guzhongren,项目名称:Bonobo-Git-Server,代码行数:7,代码来源:AuditPusherToGitNotes.cs

示例5: TagsController

 public TagsController(
     ITagService tagService,
     IMembershipService membershipService)
 {
     _tagService = tagService;
     _membershipService = membershipService;
 }
开发者ID:deboe2015,项目名称:crumb-crm,代码行数:7,代码来源:TagsController.cs

示例6: UserCommands

 public UserCommands(
     IMembershipService membershipService,
     IUserService userService)
 {
     _membershipService = membershipService;
     _userService = userService;
 }
开发者ID:NunoRodrigues,项目名称:UqbarUsuarios,代码行数:7,代码来源:UserCommands.cs

示例7: MembersController

 public MembersController(
     IMembershipService membershipService,
     IRoleService roleService)
 {
     _membershipService = membershipService;
     _roleService = roleService;
 }
开发者ID:deboe2015,项目名称:crumb-crm,代码行数:7,代码来源:MembersController.cs

示例8: CharitiesAdminController

 public CharitiesAdminController(IRolesService rolesService, IMembershipService membershipService,
     ICharityRepository charityRepository)
 {
     _rolesService = rolesService;
     _membershipService = membershipService;
     _charityRepository = charityRepository;
 }
开发者ID:stack72,项目名称:GiveCamp-London,代码行数:7,代码来源:CharitiesAdminController.cs

示例9: AssociateController

 public AssociateController(
     IMembershipService membershipService,
     IMembershipService associateMembershipService,
     IAssociateService associateService,
     IDocumentService documentService,
     IReferenceService referenceService,
     IEmployeeService employeeService,
     IProspectService prospectService,
     IPrincipal user,
     IClientProjectSharedService clientProjectSharedService,
     IIndividualService individualService,
     IRoleService roleService,
     Admin.Services.IEmailService emailService)
     : base(membershipService, associateService, user)
 {
     this.associateService = associateService;
     this.documentService = documentService;
     this.referenceService = referenceService;
     this.employeeService = employeeService;
     this.prospectService = prospectService;
     this.associateMembershipService = associateMembershipService;
     this.clientProjectSharedService = clientProjectSharedService;
     this.individualService = individualService;
     this.roleService = roleService;
     this.emailService = emailService;
 }
开发者ID:itvijaykumar,项目名称:MRTest,代码行数:26,代码来源:Sample1_Controller.cs

示例10: MenuCommands

 public MenuCommands(IWidgetsService widgetsService, ISiteService siteService, IMembershipService membershipService, IAdvancedMenuService menuService)
 {
     _widgetsService = widgetsService;
     _siteService = siteService;
     _membershipService = membershipService;
     _menuService = menuService;
 }
开发者ID:richinoz,项目名称:Orchard1.6,代码行数:7,代码来源:MenuCommands.cs

示例11: FileController

 public FileController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, 
     ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService, IUploadedFileService uploadedFileService, ICategoryService categoryService, ICacheService cacheService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService, cacheService)
 {
     _uploadedFileService = uploadedFileService;
     _categoryService = categoryService;
 }
开发者ID:lenwen,项目名称:mvcforum,代码行数:7,代码来源:FileController.cs

示例12: AccountController

 // This constructor is not used by the MVC framework but is instead provided for ease
 // of unit testing this type. See the comments at the end of this file for more
 // information.
 public AccountController(IFormsAuthentication formsAuth, IMembershipService service,
     ILogger logger)
 {
     FormsAuth = formsAuth ?? new FormsAuthenticationService();
     MembershipService = service ?? new AccountMembershipService();
     Logger = logger ?? new Logger.Logger();
 }
开发者ID:khoudeshell,项目名称:Triple-Crown-Royal,代码行数:10,代码来源:AccountController.cs

示例13: HomeController

 public HomeController(IMembershipService membershipService,
     IRepository<UserLeague> userLeagueRepository)
     : base()
 {
     this.membershipService = membershipService ?? new AccountMembershipService();
     this.userLeagueRepository = userLeagueRepository;
 }
开发者ID:khoudeshell,项目名称:Triple-Crown-Royal,代码行数:7,代码来源:HomeController.cs

示例14: LeadController

 public LeadController(
     ILeadService LeadService,
     IContactService contactService,
     IMembershipService membershipService,
     IRoleService roleService,
     INoteService noteService,
     IActivityService activityService,
     ISaleService saleService,
     ITaskService taskService,
     ViewDataHelper viewdataHelper,
     ICampaignService campaignService,
     ITagService tagService)
 {
     _leadService = LeadService;
     _contactService = contactService;
     _membershipService = membershipService;
     _roleService = roleService;
     _noteService = noteService;
     _activityService = activityService;
     _saleService = saleService;
     _taskService = taskService;
     _viewdataHelper = viewdataHelper;
     _campaignService = campaignService;
     _tagService = tagService;
 }
开发者ID:deboe2015,项目名称:crumb-crm,代码行数:25,代码来源:LeadController.cs

示例15: OTAUIController

 public OTAUIController(IOTAUIService otaUIService, IOTARedisService redisService, IFileService fileService, IUserAccessDataControlService userAccessDataControlService, IMembershipService membershipService, IFullTextSearchService fullTextSearchService)
     : base(otaUIService, redisService, fileService, fullTextSearchService)
 {
     this.UserAccessDataControlService = userAccessDataControlService;
     this.MembershipService = membershipService;
     StatusOTAService = StructureMap.ObjectFactory.GetInstance<IStatusOTAService>();
 }
开发者ID:itabas016,项目名称:AppStores,代码行数:7,代码来源:OTAUIController.cs


注:本文中的IMembershipService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。