C# 클래스 StarryEyes.Models.Accounting.AccountRelationDataChunk

파일 보기 프로젝트 열기: karno/StarryEyes 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

AccountRelationDataChunk() 공개 메소드

public AccountRelationDataChunk ( AccountRelationData parent, RelationDataType type ) : System
parent AccountRelationData
type RelationDataType
리턴 System

Contains() 공개 메소드

Check contains specified user.
public Contains ( long id ) : bool
id long user id
리턴 bool

SetAsync() 공개 메소드

Overwrite all elements by specified ids.
public SetAsync ( IEnumerable ids ) : System.Threading.Tasks.Task
ids IEnumerable new ids
리턴 System.Threading.Tasks.Task

SetAsync() 공개 메소드

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
리턴 System.Threading.Tasks.Task