C# 클래스 Crosschat.Server.Domain.Entities.User

상속: Entity
파일 보기 프로젝트 열기: EgorBo/CrossChat-Xamarin.Forms 1 사용 예제들

공개 메소드들

메소드 설명
Ban ( User bannedBy ) : void
BringVoiceBack ( User actor ) : void
ChangeAge ( int age ) : void
ChangeComments ( string comment ) : void
ChangeCountry ( string country ) : void
ChangeHuid ( string huid ) : void
ChangeName ( string newName ) : void
ChangePassword ( string password ) : void
ChangePhoto ( int photoId ) : void
ChangePushUri ( string newPush ) : void
ChangeSex ( bool newSex ) : void
Delete ( ) : void
Devoice ( User devoicedBy ) : void
GrantModeratorship ( ) : void
RemoveModeratorship ( ) : void
ResetPhoto ( User resetAuthor ) : int

Reset user's photo to default (in case if it's some kind of pornography ;)

UnBan ( User actor ) : void
UpdateLastOnline ( ) : void
User ( ) : System
User ( string name, string password, string huid, bool sex, int age, string pushUri, string country, string platform ) : System

비공개 메소드들

메소드 설명
ValidateRegistration ( ) : void

메소드 상세

Ban() 공개 메소드

public Ban ( User bannedBy ) : void
bannedBy User
리턴 void

BringVoiceBack() 공개 메소드

public BringVoiceBack ( User actor ) : void
actor User
리턴 void

ChangeAge() 공개 메소드

public ChangeAge ( int age ) : void
age int
리턴 void

ChangeComments() 공개 메소드

public ChangeComments ( string comment ) : void
comment string
리턴 void

ChangeCountry() 공개 메소드

public ChangeCountry ( string country ) : void
country string
리턴 void

ChangeHuid() 공개 메소드

public ChangeHuid ( string huid ) : void
huid string
리턴 void

ChangeName() 공개 메소드

public ChangeName ( string newName ) : void
newName string
리턴 void

ChangePassword() 공개 메소드

public ChangePassword ( string password ) : void
password string
리턴 void

ChangePhoto() 공개 메소드

public ChangePhoto ( int photoId ) : void
photoId int
리턴 void

ChangePushUri() 공개 메소드

public ChangePushUri ( string newPush ) : void
newPush string
리턴 void

ChangeSex() 공개 메소드

public ChangeSex ( bool newSex ) : void
newSex bool
리턴 void

Delete() 공개 메소드

public Delete ( ) : void
리턴 void

Devoice() 공개 메소드

public Devoice ( User devoicedBy ) : void
devoicedBy User
리턴 void

GrantModeratorship() 공개 메소드

public GrantModeratorship ( ) : void
리턴 void

RemoveModeratorship() 공개 메소드

public RemoveModeratorship ( ) : void
리턴 void

ResetPhoto() 공개 메소드

Reset user's photo to default (in case if it's some kind of pornography ;)
public ResetPhoto ( User resetAuthor ) : int
resetAuthor User
리턴 int

UnBan() 공개 메소드

public UnBan ( User actor ) : void
actor User
리턴 void

UpdateLastOnline() 공개 메소드

public UpdateLastOnline ( ) : void
리턴 void

User() 공개 메소드

public User ( ) : System
리턴 System

User() 공개 메소드

public User ( string name, string password, string huid, bool sex, int age, string pushUri, string country, string platform ) : System
name string
password string
huid string
sex bool
age int
pushUri string
country string
platform string
리턴 System