C# Class StarryEyes.Models.Accounting.AccountRelationDataChunk

Afficher le fichier Open project: karno/StarryEyes Class Usage Examples

Méthodes publiques

Méthode Description
AccountRelationDataChunk ( AccountRelationData parent, RelationDataType type ) : System
Contains ( long id ) : bool

Check contains specified user.

SetAsync ( IEnumerable ids ) : System.Threading.Tasks.Task

Overwrite all elements by specified ids.

SetAsync ( long id, bool value ) : System.Threading.Tasks.Task

Add/remove user id in this container.

Private Methods

Méthode Description
AddAsync ( IEnumerable items ) : System.Threading.Tasks.Task
InitializeCollection ( ) : System.Threading.Tasks.Task
RaiseAccountDataUpdated ( IEnumerable targetUsers, bool isAdded ) : void
RemoveAsync ( IEnumerable items ) : System.Threading.Tasks.Task

Method Details

AccountRelationDataChunk() public méthode

public AccountRelationDataChunk ( AccountRelationData parent, RelationDataType type ) : System
parent AccountRelationData
type RelationDataType
Résultat System

Contains() public méthode

Check contains specified user.
public Contains ( long id ) : bool
id long user id
Résultat bool

SetAsync() public méthode

Overwrite all elements by specified ids.
public SetAsync ( IEnumerable ids ) : System.Threading.Tasks.Task
ids IEnumerable new ids
Résultat System.Threading.Tasks.Task

SetAsync() public méthode

Add/remove user id in this container.
public SetAsync ( long id, bool value ) : System.Threading.Tasks.Task
id long target user's id
value bool flag for add or remove
Résultat System.Threading.Tasks.Task