本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例5: TagsController
public TagsController(
ITagService tagService,
IMembershipService membershipService)
{
_tagService = tagService;
_membershipService = membershipService;
}
示例6: UserCommands
public UserCommands(
IMembershipService membershipService,
IUserService userService)
{
_membershipService = membershipService;
_userService = userService;
}
示例7: MembersController
public MembersController(
IMembershipService membershipService,
IRoleService roleService)
{
_membershipService = membershipService;
_roleService = roleService;
}
示例8: CharitiesAdminController
public CharitiesAdminController(IRolesService rolesService, IMembershipService membershipService,
ICharityRepository charityRepository)
{
_rolesService = rolesService;
_membershipService = membershipService;
_charityRepository = charityRepository;
}
示例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;
}
示例10: MenuCommands
public MenuCommands(IWidgetsService widgetsService, ISiteService siteService, IMembershipService membershipService, IAdvancedMenuService menuService)
{
_widgetsService = widgetsService;
_siteService = siteService;
_membershipService = membershipService;
_menuService = menuService;
}
示例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;
}
示例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();
}
示例13: HomeController
public HomeController(IMembershipService membershipService,
IRepository<UserLeague> userLeagueRepository)
: base()
{
this.membershipService = membershipService ?? new AccountMembershipService();
this.userLeagueRepository = userLeagueRepository;
}
示例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;
}
示例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>();
}