View Source
Class RegisterModelBuilder
Inheritance
System.Object
Assembly: Umbraco.Web.Website.dll
Syntax
public class RegisterModelBuilder : MemberModelBuilderBase
Constructors
View Source
RegisterModelBuilder(IMemberTypeService, IShortStringHelper)
Declaration
public RegisterModelBuilder(IMemberTypeService memberTypeService, IShortStringHelper shortStringHelper)
Parameters
Type |
Name |
Description |
IMemberTypeService |
memberTypeService |
|
IShortStringHelper |
shortStringHelper |
|
Methods
View Source
Build()
Declaration
public RegisterModel Build()
Returns
View Source
UsernameIsEmail(Boolean)
Declaration
public RegisterModelBuilder UsernameIsEmail(bool usernameIsEmail = true)
Parameters
Type |
Name |
Description |
System.Boolean |
usernameIsEmail |
|
Returns
View Source
WithAutomaticLogIn(Boolean)
Declaration
public RegisterModelBuilder WithAutomaticLogIn(bool automaticLogIn = true)
Parameters
Type |
Name |
Description |
System.Boolean |
automaticLogIn |
|
Returns
View Source
WithCustomProperties(Boolean)
Declaration
public RegisterModelBuilder WithCustomProperties(bool lookupProperties)
Parameters
Type |
Name |
Description |
System.Boolean |
lookupProperties |
|
Returns
View Source
WithMemberTypeAlias(String)
Declaration
public RegisterModelBuilder WithMemberTypeAlias(string memberTypeAlias)
Parameters
Type |
Name |
Description |
System.String |
memberTypeAlias |
|
Returns
View Source
WithRedirectUrl(String)
Declaration
public RegisterModelBuilder WithRedirectUrl(string redirectUrl)
Parameters
Type |
Name |
Description |
System.String |
redirectUrl |
|
Returns