C# Class Telegram.Model.Wrappers.UserModel

Inheritance: INotifyPropertyChanged
Mostrar archivo Open project: naphaso/kilogram Class Usage Examples

Public Methods

Method Description
GetCurrentMethod ( ) : string
GetLastOnlineTime ( int lastOnline ) : string
GetStatusString ( UserStatus status ) : string
IsOnline ( ) : bool
SetAvatarPath ( string path ) : void
SetName ( string firstName, string lastName ) : void
SetPhoto ( UserProfilePhoto photo ) : void
SetUser ( User user ) : void
SetUserStatus ( UserStatus status ) : void
UserModel ( User user ) : System

Private Methods

Method Description
GetOfflineUserState ( UserStatusOfflineConstructor status ) : string
GetUserPlaceholderImageUri ( ) : Uri
GetUserSettings ( ) : Task
OnPropertyChanged ( [ propertyName = null ) : void
UpdatePeerNotifySettings ( PeerNotifySettingsConstructor newSettings ) : void
UpdateUserSettings ( ) : Task

Method Details

GetCurrentMethod() public static method

public static GetCurrentMethod ( ) : string
return string

GetLastOnlineTime() public static method

public static GetLastOnlineTime ( int lastOnline ) : string
lastOnline int
return string

GetStatusString() public static method

public static GetStatusString ( UserStatus status ) : string
status UserStatus
return string

IsOnline() public method

public IsOnline ( ) : bool
return bool

SetAvatarPath() public method

public SetAvatarPath ( string path ) : void
path string
return void

SetName() public method

public SetName ( string firstName, string lastName ) : void
firstName string
lastName string
return void

SetPhoto() public method

public SetPhoto ( UserProfilePhoto photo ) : void
photo UserProfilePhoto
return void

SetUser() public method

public SetUser ( User user ) : void
user User
return void

SetUserStatus() public method

public SetUserStatus ( UserStatus status ) : void
status UserStatus
return void

UserModel() public method

public UserModel ( User user ) : System
user User
return System