FreeRealmsLocaleTools FreeRealmsLocaleTools
FreeRealmsLocaleTools FreeRealmsLocaleTools
DocFX + Singulink = ♥

Search Results for

    Method RemoveEntries

    RemoveEntries(string, string, Func<LocaleEntry, bool>)

    Removes all locale entries that match the specified predicate from the given .dat file and .dir file.

    Declaration
    public static LocaleFileInfo RemoveEntries(string localeDatPath, string localeDirPath, Func<LocaleEntry, bool> predicate)
    Parameters
    Type Name Description
    string localeDatPath

    The path to the locale .dat file.

    string localeDirPath

    The path to the locale .dir file.

    Func<LocaleEntry, bool> predicate

    A function to test each locale entry for a condition.

    Returns
    Type Description
    LocaleFileInfo

    A LocaleFileInfo instance that wraps the locale files.

    Exceptions
    Type Condition
    ArgumentNullException