C# 클래스 OpenTween.Models.TabModel

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

공개 메소드들

메소드 설명
AddPostQueue ( PostClass post ) : void
AddSubmit ( ) : IReadOnlyList
ClearIDs ( ) : void
Contains ( long statusId ) : bool
EnqueueRemovePost ( long statusId, bool setIsDeleted ) : void
GetStatusIdAt ( int index ) : long
GetStatusIdAt ( IEnumerable indexes ) : long[]
GetUnreadIds ( ) : long[]

未読ツイートの ID を配列で返します

IndexOf ( long statusId ) : int
IndexOf ( long statusIds ) : int[]
RefreshAsync ( Twitter tw, bool backward, bool startup, IProgress progress ) : Task
RemovePostImmediately ( long statusId ) : bool
RemoveSubmit ( ) : IReadOnlyList
ResetFetchIds ( ) : void

タブ更新時に使用する SinceId, OldestId をリセットする

SearchPostsAll ( bool>.Func stringComparer ) : IEnumerable
SearchPostsAll ( bool>.Func stringComparer, bool reverse ) : IEnumerable
SearchPostsAll ( bool>.Func stringComparer, int startIndex ) : IEnumerable
SearchPostsAll ( bool>.Func stringComparer, int startIndex, bool reverse ) : IEnumerable

タブ内の発言を指定された条件で検索します

SetSortMode ( ComparerMode mode, SortOrder sortOrder ) : void

ソート対象のフィールドとソート順を設定し、ソートを実行します

this ( int index ) : PostClass
this ( int startIndex, int endIndex ) : PostClass[]

보호된 메소드들

메소드 설명
TabModel ( string tabName ) : System

비공개 메소드들

메소드 설명
AddPostImmediately ( long statusId, bool read ) : bool
ApplySortMode ( ) : void
SetReadState ( long statusId, bool read ) : bool

タブ内の既読状態を変更します

全タブを横断して既読状態を変える TabInformation.SetReadAllTab() の内部で呼び出されるメソッドです

메소드 상세

AddPostQueue() 공개 메소드

public AddPostQueue ( PostClass post ) : void
post PostClass
리턴 void

AddSubmit() 공개 메소드

public AddSubmit ( ) : IReadOnlyList
리턴 IReadOnlyList

ClearIDs() 공개 메소드

public ClearIDs ( ) : void
리턴 void

Contains() 공개 메소드

public Contains ( long statusId ) : bool
statusId long
리턴 bool

EnqueueRemovePost() 공개 메소드

public EnqueueRemovePost ( long statusId, bool setIsDeleted ) : void
statusId long
setIsDeleted bool
리턴 void

GetStatusIdAt() 공개 메소드

public GetStatusIdAt ( int index ) : long
index int
리턴 long

GetStatusIdAt() 공개 메소드

public GetStatusIdAt ( IEnumerable indexes ) : long[]
indexes IEnumerable
리턴 long[]

GetUnreadIds() 공개 메소드

未読ツイートの ID を配列で返します
public GetUnreadIds ( ) : long[]
리턴 long[]

IndexOf() 공개 메소드

public IndexOf ( long statusId ) : int
statusId long
리턴 int

IndexOf() 공개 메소드

public IndexOf ( long statusIds ) : int[]
statusIds long
리턴 int[]

RefreshAsync() 공개 추상적인 메소드

public abstract RefreshAsync ( Twitter tw, bool backward, bool startup, IProgress progress ) : Task
tw Twitter
backward bool
startup bool
progress IProgress
리턴 Task

RemovePostImmediately() 공개 메소드

public RemovePostImmediately ( long statusId ) : bool
statusId long
리턴 bool

RemoveSubmit() 공개 메소드

public RemoveSubmit ( ) : IReadOnlyList
리턴 IReadOnlyList

ResetFetchIds() 공개 메소드

タブ更新時に使用する SinceId, OldestId をリセットする
public ResetFetchIds ( ) : void
리턴 void

SearchPostsAll() 공개 메소드

public SearchPostsAll ( bool>.Func stringComparer ) : IEnumerable
stringComparer bool>.Func
리턴 IEnumerable

SearchPostsAll() 공개 메소드

public SearchPostsAll ( bool>.Func stringComparer, bool reverse ) : IEnumerable
stringComparer bool>.Func
reverse bool
리턴 IEnumerable

SearchPostsAll() 공개 메소드

public SearchPostsAll ( bool>.Func stringComparer, int startIndex ) : IEnumerable
stringComparer bool>.Func
startIndex int
리턴 IEnumerable

SearchPostsAll() 공개 메소드

タブ内の発言を指定された条件で検索します
public SearchPostsAll ( bool>.Func stringComparer, int startIndex, bool reverse ) : IEnumerable
stringComparer bool>.Func 発言内容、スクリーン名、名前と比較する条件。マッチしたら true を返す
startIndex int 検索を開始する位置
reverse bool インデックスの昇順に検索する場合は false、降順の場合は true
리턴 IEnumerable

SetSortMode() 공개 메소드

ソート対象のフィールドとソート順を設定し、ソートを実行します
public SetSortMode ( ComparerMode mode, SortOrder sortOrder ) : void
mode ComparerMode
sortOrder SortOrder
리턴 void

TabModel() 보호된 메소드

protected TabModel ( string tabName ) : System
tabName string
리턴 System

this() 공개 메소드

public this ( int index ) : PostClass
index int
리턴 PostClass

this() 공개 메소드

public this ( int startIndex, int endIndex ) : PostClass[]
startIndex int
endIndex int
리턴 PostClass[]