C# Class Crosschat.Client.Model.Managers.AccountManager

Inheritance: ManagerBase
Show file Open project: EgorBo/CrossChat-Xamarin.Forms Class Usage Examples

Public Methods

Method Description
AccountManager ( IStorage storage, IDeviceInfo deviceInfo, ConnectionManager connectionManager, ProfileServiceProxy profileServiceProxy, RegistrationServiceProxy registrationServiceProxy, AuthenticationServiceProxy authenticationServiceProxy ) : System.Threading.Tasks
ChangePhoto ( byte photoData ) : Task
Deactivate ( ) : System.Threading.Tasks.Task
Register ( string name, string password, int age, bool sex, string country, string platform ) : Task
ValidateAccount ( ) : Task
ValidateAccount ( string name, string password ) : Task

Private Methods

Method Description
InitDeviceInfo ( ) : System.Threading.Tasks.Task

Method Details

AccountManager() public method

public AccountManager ( IStorage storage, IDeviceInfo deviceInfo, ConnectionManager connectionManager, ProfileServiceProxy profileServiceProxy, RegistrationServiceProxy registrationServiceProxy, AuthenticationServiceProxy authenticationServiceProxy ) : System.Threading.Tasks
storage IStorage
deviceInfo IDeviceInfo
connectionManager ConnectionManager
profileServiceProxy Crosschat.Client.Model.Proxies.ProfileServiceProxy
registrationServiceProxy Crosschat.Client.Model.Proxies.RegistrationServiceProxy
authenticationServiceProxy Crosschat.Client.Model.Proxies.AuthenticationServiceProxy
return System.Threading.Tasks

ChangePhoto() public method

public ChangePhoto ( byte photoData ) : Task
photoData byte
return Task

Deactivate() public method

public Deactivate ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Register() public method

public Register ( string name, string password, int age, bool sex, string country, string platform ) : Task
name string
password string
age int
sex bool
country string
platform string
return Task

ValidateAccount() public method

public ValidateAccount ( ) : Task
return Task

ValidateAccount() public method

public ValidateAccount ( string name, string password ) : Task
name string
password string
return Task