C# 클래스 RIAServiceApplication.Web.User

상속: System.Entity, global::System.Security.Principal.IIdentity, global::System.Security.Principal.IPrincipal
파일 보기 프로젝트 열기: KuduApps/RIAServicesApp

Private Properties

프로퍼티 타입 설명
OnCreated void
OnFriendlyNameChanged void
OnFriendlyNameChanging void
OnNameChanged void
OnNameChanging void
OnRolesChanged void
OnRolesChanging void

공개 메소드들

메소드 설명
GetIdentity ( ) : object

Computes a value from the key fields that uniquely identifies this entity instance.

IsInRole ( string role ) : bool

Return whether the principal is in the role.

Returns whether the specified role is contained in the roles. This implementation is case sensitive.

User ( ) : System

Initializes a new instance of the User class.

보호된 메소드들

메소드 설명
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Override of the OnPropertyChanged method that generates property change notifications when User.DisplayName changes.

비공개 메소드들

메소드 설명
OnCreated ( ) : void

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

OnFriendlyNameChanged ( ) : void
OnFriendlyNameChanging ( string value ) : void
OnNameChanged ( ) : void
OnNameChanging ( string value ) : void
OnRolesChanged ( ) : void
OnRolesChanging ( IEnumerable value ) : void

메소드 상세

GetIdentity() 공개 메소드

Computes a value from the key fields that uniquely identifies this entity instance.
public GetIdentity ( ) : object
리턴 object

IsInRole() 공개 메소드

Return whether the principal is in the role.
Returns whether the specified role is contained in the roles. This implementation is case sensitive.
public IsInRole ( string role ) : bool
role string The name of the role for which to check membership.
리턴 bool

OnPropertyChanged() 보호된 메소드

Override of the OnPropertyChanged method that generates property change notifications when User.DisplayName changes.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs The property change event args.
리턴 void

User() 공개 메소드

Initializes a new instance of the User class.
public User ( ) : System
리턴 System