Search Results for

    Show / Hide Table of Contents
    View Source

    Class ProfileModelBuilder

    Inheritance
    System.Object
    MemberModelBuilderBase
    Namespace: Umbraco.Cms.Web.Website.Models
    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
    Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor

    Methods

    View Source

    BuildForCurrentMemberAsync()

    Declaration
    public async Task<ProfileModel> BuildForCurrentMemberAsync()
    Returns
    Type Description
    Task<ProfileModel>
    View Source

    WithCustomProperties(Boolean)

    Declaration
    public ProfileModelBuilder WithCustomProperties(bool lookupProperties)
    Parameters
    Type Name Description
    System.Boolean lookupProperties
    Returns
    Type Description
    ProfileModelBuilder
    View Source

    WithRedirectUrl(String)

    Declaration
    public ProfileModelBuilder WithRedirectUrl(string redirectUrl)
    Parameters
    Type Name Description
    System.String redirectUrl
    Returns
    Type Description
    ProfileModelBuilder
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ProfileModelBuilder(IMemberTypeService, IMemberService, IShortStringHelper, IHttpContextAccessor)
    • Methods
      • BuildForCurrentMemberAsync()
      • WithCustomProperties(Boolean)
      • WithRedirectUrl(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX