C# Class subtitleMemorize.PreviewListModel

Show file Open project: ChangSpivey/SubtitleMemorize Class Usage Examples

Public Methods

Method Description
EvaluateForEveryLine ( String conditionExpr ) : List

XXX: Wrong documentation = Selects preview lines in Gtk.TreeView based on a condtion like "episode=3 and contains(sub1, 'Bye')".

ExportData ( Settings settings, InfoProgress progressInfo ) : void
ExportTextFile ( List cardInfoList, Settings settings, InfoProgress progressInfo ) : void
GenerateFullUpdateList ( ) : List
GetActiveCards ( ) : List
GetAudioFileName ( Settings settings, CardInfo cardInfo ) : String
GetCardClone ( int index ) : CardInfo
GetLength ( ) : int
GetSnapshotFileName ( Settings settings, CardInfo cardInfo ) : String
IsIndexInRange ( int index ) : bool
MergeLines ( List selectedIndices, MergeMode mergeMode ) : List
PreviewListModel ( List cardInfos ) : System
RegexReplace ( List indices, bool inSub1, bool inSub2, string pattern, string replaceTo ) : List
SetCard ( int index, CardInfo cardInfo ) : List
UpdateCardActivation ( IEnumerable items, BinaryChangeMode mode ) : List

Private Methods

Method Description
finalizeChangeList ( List changeList ) : void

Method Details

EvaluateForEveryLine() public method

XXX: Wrong documentation = Selects preview lines in Gtk.TreeView based on a condtion like "episode=3 and contains(sub1, 'Bye')".
public EvaluateForEveryLine ( String conditionExpr ) : List
conditionExpr String Condition expr.
return List

ExportData() public method

public ExportData ( Settings settings, InfoProgress progressInfo ) : void
settings Settings
progressInfo InfoProgress
return void

ExportTextFile() public method

public ExportTextFile ( List cardInfoList, Settings settings, InfoProgress progressInfo ) : void
cardInfoList List
settings Settings
progressInfo InfoProgress
return void

GenerateFullUpdateList() public method

public GenerateFullUpdateList ( ) : List
return List

GetActiveCards() public method

public GetActiveCards ( ) : List
return List

GetAudioFileName() public method

public GetAudioFileName ( Settings settings, CardInfo cardInfo ) : String
settings Settings
cardInfo CardInfo
return String

GetCardClone() public method

public GetCardClone ( int index ) : CardInfo
index int
return CardInfo

GetLength() public method

public GetLength ( ) : int
return int

GetSnapshotFileName() public method

public GetSnapshotFileName ( Settings settings, CardInfo cardInfo ) : String
settings Settings
cardInfo CardInfo
return String

IsIndexInRange() public method

public IsIndexInRange ( int index ) : bool
index int
return bool

MergeLines() public method

public MergeLines ( List selectedIndices, MergeMode mergeMode ) : List
selectedIndices List
mergeMode MergeMode
return List

PreviewListModel() public method

public PreviewListModel ( List cardInfos ) : System
cardInfos List
return System

RegexReplace() public method

public RegexReplace ( List indices, bool inSub1, bool inSub2, string pattern, string replaceTo ) : List
indices List
inSub1 bool
inSub2 bool
pattern string
replaceTo string
return List

SetCard() public method

public SetCard ( int index, CardInfo cardInfo ) : List
index int
cardInfo CardInfo
return List

UpdateCardActivation() public method

public UpdateCardActivation ( IEnumerable items, BinaryChangeMode mode ) : List
items IEnumerable
mode BinaryChangeMode
return List