C# Класс ResxDiffLib.Helpers

Показать файл Открыть проект

Открытые методы

Метод Описание
DifferentValues ( ResxDocument a, ResxDocument b ) : IEnumerable

Finds keys present in 'a' and 'b' which have differing values

DuplicateKeys ( ResxDocument d ) : IEnumerable

Finds keys that appear more than once in 'd'

IdenticalValues ( ResxDocument a, ResxDocument b ) : IEnumerable

Finds keys present in 'a' and 'b' which have the same values

MismatchedMetadata ( ResxDocument a, ResxDocument b ) : IEnumerable

Finds keys present in 'a' and 'b' which have differing metadata (type, mimetype, space or comment)

MissingKeys ( ResxDocument a, ResxDocument b ) : IEnumerable

Finds keys present in 'a' that are missing in 'b'

MissingSpacePreserve ( ResxDocument d ) : IEnumerable

Finds keys that are missing the xml:space="preserve" attribute in 'd'

PresentKeys ( ResxDocument a, ResxDocument b ) : IEnumerable

Finds keys that are present in both 'a' and 'b'

Описание методов

DifferentValues() публичный статический Метод

Finds keys present in 'a' and 'b' which have differing values
public static DifferentValues ( ResxDocument a, ResxDocument b ) : IEnumerable
a ResxDocument The first document
b ResxDocument The second document
Результат IEnumerable

DuplicateKeys() публичный статический Метод

Finds keys that appear more than once in 'd'
public static DuplicateKeys ( ResxDocument d ) : IEnumerable
d ResxDocument The document to check for duplicate keys
Результат IEnumerable

IdenticalValues() публичный статический Метод

Finds keys present in 'a' and 'b' which have the same values
public static IdenticalValues ( ResxDocument a, ResxDocument b ) : IEnumerable
a ResxDocument The first document
b ResxDocument The second document
Результат IEnumerable

MismatchedMetadata() публичный статический Метод

Finds keys present in 'a' and 'b' which have differing metadata (type, mimetype, space or comment)
public static MismatchedMetadata ( ResxDocument a, ResxDocument b ) : IEnumerable
a ResxDocument The first document
b ResxDocument The second document
Результат IEnumerable

MissingKeys() публичный статический Метод

Finds keys present in 'a' that are missing in 'b'
public static MissingKeys ( ResxDocument a, ResxDocument b ) : IEnumerable
a ResxDocument The base document
b ResxDocument The document to check for missing keys
Результат IEnumerable

MissingSpacePreserve() публичный статический Метод

Finds keys that are missing the xml:space="preserve" attribute in 'd'
public static MissingSpacePreserve ( ResxDocument d ) : IEnumerable
d ResxDocument The document to check for duplicate keys
Результат IEnumerable

PresentKeys() публичный статический Метод

Finds keys that are present in both 'a' and 'b'
public static PresentKeys ( ResxDocument a, ResxDocument b ) : IEnumerable
a ResxDocument The first document
b ResxDocument The second document
Результат IEnumerable