• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# IMembershipService类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: MembershipController

 public MembershipController(IUserService userService, IAuthentication authentication, IListingService listingService, IMembershipService membershipService)
 {
     _userService = userService;
     _authentication = authentication;
     _listingService = listingService;
     _membershipService = membershipService;
 }
开发者ID:xuantranm,项目名称:DigitalMarket,代码行数:7,代码来源:MembershipController.cs


示例17: PostWrapper

 public PostWrapper(IPostDao postDao, IMembershipService membershipService, ISubDao subDao, IVoteDao voteDao)
 {
     _postDao = postDao;
     _membershipService = membershipService;
     _subDao = subDao;
     _voteDao = voteDao;
 }
开发者ID:richardrcruzc,项目名称:skimur,代码行数:7,代码来源:PostWrapper.cs


示例18: PasswordsController

 public PasswordsController(
     IMembershipService membershipService,
     IMailer mailer)
 {
     this.membershipService = membershipService;
     this.mailer = mailer;
 }
开发者ID:kazimanzurrashid,项目名称:textuml-dotnet,代码行数:7,代码来源:PasswordsController.cs


示例19: AccountController

 // This constructor is not used by the MVC framework but is instead provided for ease
 // of unit testing this type. See the comments in AccountModels.cs for more information.
 public AccountController(IFormsAuthenticationService formsService,
                          IMembershipService membershipService)
 {
     FormsService = formsService ?? new FormsAuthenticationService();
     MembershipService = membershipService ??
                         new AccountMembershipService();
 }
开发者ID:jeffreypalermo,项目名称:mvc2inaction,代码行数:9,代码来源:AccountController.cs


示例20: AdminBadgeController

 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="unitOfWorkManager"> </param>
 /// <param name="membershipService"> </param>
 /// <param name="localizationService"></param>
 /// <param name="settingsService"> </param>
 /// <param name="badgeService"> </param>
 /// <param name="loggingService"> </param>
 public AdminBadgeController(IBadgeService badgeService, IPostService postService, ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, 
     IMembershipService membershipService, ILocalizationService localizationService, ISettingsService settingsService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, settingsService)
 {
     _badgeService = badgeService;
     _postService = postService;
 }
开发者ID:molntamas,项目名称:mvcforum,代码行数:16,代码来源:AdminBadgeController.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IMemento类代码示例发布时间:2022-05-24
下一篇:
C# IMemberService类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap