C# Class StarryEyes.Settings.AccountManager

Exibir arquivo Open project: karno/StarryEyes

Public Methods

Method Description
Contains ( long id ) : bool
Get ( long id ) : StarryEyes.Models.Accounting.TwitterAccount
GetRandomOne ( ) : StarryEyes.Models.Accounting.TwitterAccount
GetRelatedOne ( long id ) : StarryEyes.Models.Accounting.TwitterAccount
RemoveAccountFromId ( long id ) : void

Private Methods

Method Description
AccountManager ( Setting settingItem ) : System
AddAccountSub ( long id ) : System.Threading.Tasks.Task
CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
RemoveAccountSub ( long id ) : System.Threading.Tasks.Task
SynchronizeDb ( ) : void

Method Details

Contains() public method

public Contains ( long id ) : bool
id long
return bool

Get() public method

public Get ( long id ) : StarryEyes.Models.Accounting.TwitterAccount
id long
return StarryEyes.Models.Accounting.TwitterAccount

GetRandomOne() public method

public GetRandomOne ( ) : StarryEyes.Models.Accounting.TwitterAccount
return StarryEyes.Models.Accounting.TwitterAccount

GetRelatedOne() public method

public GetRelatedOne ( long id ) : StarryEyes.Models.Accounting.TwitterAccount
id long
return StarryEyes.Models.Accounting.TwitterAccount

RemoveAccountFromId() public method

public RemoveAccountFromId ( long id ) : void
id long
return void