View Source
Class ProfileModelBuilder
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
Methods
View Source
BuildForCurrentMemberAsync()
Declaration
public Task<ProfileModel?> BuildForCurrentMemberAsync()
Returns
View Source
WithCustomProperties(bool)
Declaration
public ProfileModelBuilder WithCustomProperties(bool lookupProperties)
Parameters
| Type |
Name |
Description |
| bool |
lookupProperties |
|
Returns
View Source
WithRedirectUrl(string)
Declaration
public ProfileModelBuilder WithRedirectUrl(string redirectUrl)
Parameters
| Type |
Name |
Description |
| string |
redirectUrl |
|
Returns