View Source
Class ProfileModelBuilder
Inheritance
System.Object
Assembly: Umbraco.Web.Website.dll
Syntax
public class ProfileModelBuilder : MemberModelBuilderBase
Constructors
View Source
ProfileModelBuilder(IMemberTypeService, IMemberService, IShortStringHelper, IHttpContextAccessor)
Declaration
public ProfileModelBuilder(IMemberTypeService memberTypeService, IMemberService memberService, IShortStringHelper shortStringHelper, IHttpContextAccessor httpContextAccessor)
Parameters
Type |
Name |
Description |
IMemberTypeService |
memberTypeService |
|
IMemberService |
memberService |
|
IShortStringHelper |
shortStringHelper |
|
IHttpContextAccessor |
httpContextAccessor |
|
Methods
View Source
BuildForCurrentMemberAsync()
Declaration
public async Task<ProfileModel> BuildForCurrentMemberAsync()
Returns
View Source
WithCustomProperties(Boolean)
Declaration
public ProfileModelBuilder WithCustomProperties(bool lookupProperties)
Parameters
Type |
Name |
Description |
System.Boolean |
lookupProperties |
|
Returns
View Source
WithRedirectUrl(String)
Declaration
public ProfileModelBuilder WithRedirectUrl(string redirectUrl)
Parameters
Type |
Name |
Description |
System.String |
redirectUrl |
|
Returns