Method Create
Create(string, IEnumerable<LocaleEntry>)
Creates a new instance of LocaleMetadata from the specified .dat file and locale entries.
Declaration
public static LocaleMetadata Create(string localeDatFile, IEnumerable<LocaleEntry> entries)
Parameters
| Type | Name | Description |
|---|---|---|
| string | localeDatFile | The path to the locale .dat file. |
| IEnumerable<LocaleEntry> | entries | A collection of locale entries. |
Returns
| Type | Description |
|---|---|
| LocaleMetadata | A new metadata instance with some properties initialized. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |