C# Класс LabelPlus.LabelFileManager

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
FileListChanged EventHandler
GroupListChanged EventHandler
LabelItemListChanged EventHandler
LabelItemTextChanged EventHandler

Открытые методы

Метод Описание
AddFile ( string file ) : bool
AddLabelItem ( string file, LabelItem item, int insertIndex = -1 ) : bool
DelAllLabelInFile ( string file ) : bool
DelFile ( string file ) : bool
DelLabelItem ( string file, int index ) : bool
FromFile ( string path ) : void
LabelFileManager ( ) : System
NewLabelFile ( string groups ) : bool
ToFile ( string path ) : bool
UpdateLabelCategory ( string file, int index, int category ) : bool
UpdateLabelItemText ( string file, int index, string text ) : bool
this ( string file, int index ) : LabelItem
this ( string file ) : List

Приватные методы

Метод Описание
OnFileListChanged ( ) : void
OnGroupListChanged ( ) : void
OnLabelItemListChanged ( ) : void
OnLabelItemTextChanged ( ) : void
addFile ( string file ) : bool
addFilenameToStore ( string nowFilename ) : bool
addLabelItem ( string file, LabelItem item, int insertIndex = -1 ) : bool
addLabelToStore ( string nowText, string nowLabelResultValues, string nowFilename ) : void
getLabelFileStartBlocksString ( ) : string
getStrlineType ( string str ) : getStrlineTypeResult
readLabelFileStartBlocks ( string nowText ) : void

Описание методов

AddFile() публичный Метод

public AddFile ( string file ) : bool
file string
Результат bool

AddLabelItem() публичный Метод

public AddLabelItem ( string file, LabelItem item, int insertIndex = -1 ) : bool
file string
item LabelItem
insertIndex int
Результат bool

DelAllLabelInFile() публичный Метод

public DelAllLabelInFile ( string file ) : bool
file string
Результат bool

DelFile() публичный Метод

public DelFile ( string file ) : bool
file string
Результат bool

DelLabelItem() публичный Метод

public DelLabelItem ( string file, int index ) : bool
file string
index int
Результат bool

FromFile() публичный Метод

public FromFile ( string path ) : void
path string
Результат void

LabelFileManager() публичный Метод

public LabelFileManager ( ) : System
Результат System

NewLabelFile() публичный Метод

public NewLabelFile ( string groups ) : bool
groups string
Результат bool

ToFile() публичный Метод

public ToFile ( string path ) : bool
path string
Результат bool

UpdateLabelCategory() публичный Метод

public UpdateLabelCategory ( string file, int index, int category ) : bool
file string
index int
category int
Результат bool

UpdateLabelItemText() публичный Метод

public UpdateLabelItemText ( string file, int index, string text ) : bool
file string
index int
text string
Результат bool

this() публичный Метод

public this ( string file, int index ) : LabelItem
file string
index int
Результат LabelItem

this() публичный Метод

public this ( string file ) : List
file string
Результат List

Описание свойств

FileListChanged публичное статическое свойство

public static EventHandler FileListChanged
Результат EventHandler

GroupListChanged публичное статическое свойство

public static EventHandler GroupListChanged
Результат EventHandler

LabelItemListChanged публичное статическое свойство

public static EventHandler LabelItemListChanged
Результат EventHandler

LabelItemTextChanged публичное статическое свойство

public static EventHandler LabelItemTextChanged
Результат EventHandler