C# Class Rsdn.LocUtil.Model.Category

Категория ресурсов.
Inheritance: ItemBase, ITreeNode
Show file Open project: rsdn/janus Class Usage Examples

Private Properties

Property Type Description
DeleteCategory void
DeleteIfEmpty void
DeleteItem void
ICollection void
IEnumerable IEnumerator
this ITreeNodeITreeNode.System

Public Methods

Method Description
Category ( string name, Category parent ) : System

Инициализирует экземпляр.

GetAllItems ( ) : Rsdn.LocUtil.Model.ResourceItem[]

Получить все вложенные элементы.

GetAllResCount ( ) : int

Получить количество всех содержащихся ресурсов.

GetCultures ( ) : System.Globalization.CultureInfo[]

Получить список всех культур.

Private Methods

Method Description
DeleteCategory ( Category category ) : void
DeleteIfEmpty ( ) : void
DeleteItem ( ResourceItem item ) : void
ICollection ( Array array, int index ) : void
IEnumerable ( ) : IEnumerator
this ( int index ) : ITreeNodeITreeNode.System

Method Details

Category() public method

Инициализирует экземпляр.
public Category ( string name, Category parent ) : System
name string
parent Category
return System

GetAllItems() public method

Получить все вложенные элементы.
public GetAllItems ( ) : Rsdn.LocUtil.Model.ResourceItem[]
return Rsdn.LocUtil.Model.ResourceItem[]

GetAllResCount() public method

Получить количество всех содержащихся ресурсов.
public GetAllResCount ( ) : int
return int

GetCultures() public method

Получить список всех культур.
public GetCultures ( ) : System.Globalization.CultureInfo[]
return System.Globalization.CultureInfo[]