Constructor LocaleFileInfo
LocaleFileInfo()
Initializes an empty instance of LocaleFileInfo.
Declaration
public LocaleFileInfo()
LocaleFileInfo(string, bool)
Initializes a new instance of LocaleFileInfo from the specified locale .dat file.
Declaration
public LocaleFileInfo(string localeDatPath, bool lazyInit = true)
Parameters
| Type | Name | Description |
|---|---|---|
| string | localeDatPath | The path to the locale .dat file. |
| bool | lazyInit | Whether to lazily initialize properties required to add/remove/update locale entries. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
LocaleFileInfo(string, string, ParseOptions, bool)
Initializes a new instance of LocaleFileInfo from the specified locale .dat and .dir file.
Declaration
public LocaleFileInfo(string localeDatPath, string localeDirPath, ParseOptions options = ParseOptions.Normal, bool lazyInit = true)
Parameters
| Type | Name | Description |
|---|---|---|
| string | localeDatPath | The path to the locale .dat file. |
| string | localeDirPath | The path to the locale .dir file. |
| ParseOptions | options | Specifies how to parse locale entries from the .dat/.dir file. |
| bool | lazyInit | Whether to lazily initialize properties required to add/remove/update locale entries. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |