C# Class ModernizedAlice.ArtOfWords.BizCommon.Model.Marks.MarkManager

ファイルを表示 Open project: kienaiProject/ArtOfWords Class Usage Examples

Public Methods

Method Description
AddMark ( Mark mark ) : void
DeleteMark ( Mark mark ) : void
FocusOnRange ( int headIndex, int tailIndex, MarkKindEnums kind ) : void

先頭と末尾によってキャッシュを作成します。これを作成することで検索速度が上がります

GetMarks ( ) : IEnumerable
GetMarks ( IMarkable markable ) : IEnumerable
GetMarks ( int headIndex, int tailIndex, MarkKindEnums markKind ) : IEnumerable
GetPriorityMark ( int index ) : Mark
MarkChangedEventHandler ( object obj, MarkChangedEventArgs arg ) : void
MarkManager ( ) : System

Private Methods

Method Description
GetMarkKind ( Mark mark ) : MarkKindEnums
isTargetMark ( int headIndex, int tailIndex, Mark mark, MarkKindEnums kind ) : bool

Method Details

AddMark() public method

public AddMark ( Mark mark ) : void
mark Mark
return void

DeleteMark() public method

public DeleteMark ( Mark mark ) : void
mark Mark
return void

FocusOnRange() public method

先頭と末尾によってキャッシュを作成します。これを作成することで検索速度が上がります
public FocusOnRange ( int headIndex, int tailIndex, MarkKindEnums kind ) : void
headIndex int
tailIndex int
kind MarkKindEnums
return void

GetMarks() public method

public GetMarks ( ) : IEnumerable
return IEnumerable

GetMarks() public method

public GetMarks ( IMarkable markable ) : IEnumerable
markable IMarkable
return IEnumerable

GetMarks() public method

public GetMarks ( int headIndex, int tailIndex, MarkKindEnums markKind ) : IEnumerable
headIndex int
tailIndex int
markKind MarkKindEnums
return IEnumerable

GetPriorityMark() public method

public GetPriorityMark ( int index ) : Mark
index int
return Mark

MarkChangedEventHandler() public method

public MarkChangedEventHandler ( object obj, MarkChangedEventArgs arg ) : void
obj object
arg ModernizedAlice.ArtOfWords.BizCommon.Event.MarkChangedEventArgs
return void

MarkManager() public method

public MarkManager ( ) : System
return System