Interface ICatalog
Represents a catalog contained in a PortableObject file.
Namespace: MGR.PortableObject
Assembly: MGR.PortableObject.dll
Syntax
public interface ICatalog
Properties
| Edit this page View SourceCount
Gets the number of translation in the current catalog.
Declaration
int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
Culture
Gets the culture for the current catalog.
Declaration
CultureInfo Culture { get; }
Property Value
| Type | Description |
|---|---|
| CultureInfo |
Methods
| Edit this page View SourceGetEntry(PortableObjectKey)
Gets an entry from the current catalog for the specified key.
Declaration
IPortableObjectEntry GetEntry(PortableObjectKey key)
Parameters
| Type | Name | Description |
|---|---|---|
| PortableObjectKey | key | A key. |
Returns
| Type | Description |
|---|---|
| IPortableObjectEntry | The entry corresponding to the key. |