ChangeRoleViewModel Members

The ChangeRoleViewModel type exposes the following members.

Constructors


  Name Description
Public method ChangeRoleViewModel()()()()
Initializes a new instance of the ChangeRoleViewModel class.
Public method ChangeRoleViewModel(User)
Initializes a new instance of the ChangeRoleViewModel class.

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Private method Static member GetRoles
Gets the roles.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties


  Name Description
Public property Email
Gets or sets the email.
Public property Name
Gets or sets the name.
Public property RoleId
Gets or sets the role identifier.
Public property Roles
Gets the roles.
Public property RoleSelectList
Gets the role select list.
Public property UserId
Gets or sets the user identifier.