C# Class RIAServiceApplication.Web.RegistrationData

Inheritance: ComplexObject
Mostrar archivo Open project: KuduApps/RIAServicesApp Class Usage Examples

Private Properties

Property Type Description
CheckPasswordConfirmation void
CurrentOperationChanged void
OnAnswerChanged void
OnAnswerChanging void
OnCreated void
OnEmailChanged void
OnEmailChanging void
OnFriendlyNameChanged void
OnFriendlyNameChanging void
OnQuestionChanged void
OnQuestionChanging void
OnUserNameChanged void
OnUserNameChanging void
UserNameEntered void

Public Methods

Method Description
RegistrationData ( ) : System

Initializes a new instance of the RegistrationData class.

ToLoginParameters ( ) : LoginParameters

Creates a new LoginParameters initialized with this entity's data (IsPersistent will default to false).

Private Methods

Method Description
CheckPasswordConfirmation ( ) : void

Checks to ensure the password and confirmation match. If they don't match, a validation error is added.

CurrentOperationChanged ( ) : void

Helper method for when the current operation changes. Used to raise appropriate property change notifications.

OnAnswerChanged ( ) : void
OnAnswerChanging ( string value ) : void
OnCreated ( ) : void

This method is invoked from the constructor once initialization is complete and can be used for further object setup.

OnEmailChanged ( ) : void
OnEmailChanging ( string value ) : void
OnFriendlyNameChanged ( ) : void
OnFriendlyNameChanging ( string value ) : void
OnQuestionChanged ( ) : void
OnQuestionChanging ( string value ) : void
OnUserNameChanged ( ) : void
OnUserNameChanging ( string value ) : void
UserNameEntered ( string userName ) : void

Perform logic after the UserName value has been entered.

Allow the form to indicate when the value has been completely entered. Using the OnUserNameChanged method can lead to a premature call before the user has finished entering the value in the form.

Method Details

RegistrationData() public method

Initializes a new instance of the RegistrationData class.
public RegistrationData ( ) : System
return System

ToLoginParameters() public method

Creates a new LoginParameters initialized with this entity's data (IsPersistent will default to false).
public ToLoginParameters ( ) : LoginParameters
return LoginParameters