Class MemberModelBuilderFactory
Service to create model builder instances for working with Members on the front-end
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Website.Models
Assembly: Umbraco.Web.Website.dll
Syntax
public class MemberModelBuilderFactory
Constructors
View SourceMemberModelBuilderFactory(IMemberTypeService, IMemberService, IShortStringHelper, IHttpContextAccessor)
Declaration
public MemberModelBuilderFactory(IMemberTypeService memberTypeService, IMemberService memberService, IShortStringHelper shortStringHelper, IHttpContextAccessor httpContextAccessor)
Parameters
Type | Name | Description |
---|---|---|
IMemberTypeService | memberTypeService | |
IMemberService | memberService | |
IShortStringHelper | shortStringHelper | |
Microsoft.AspNetCore.Http.IHttpContextAccessor | httpContextAccessor |
Methods
View SourceCreateProfileModel()
Create a RegisterModelBuilder
Declaration
public ProfileModelBuilder CreateProfileModel()
Returns
Type | Description |
---|---|
ProfileModelBuilder |
CreateRegisterModel()
Create a RegisterModelBuilder
Declaration
public RegisterModelBuilder CreateRegisterModel()
Returns
Type | Description |
---|---|
RegisterModelBuilder |