C# Class ResxDiffLib.Helpers

Afficher le fichier Open project: tomwadley/resx-diff

Méthodes publiques

Méthode Description
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'

Method Details

DifferentValues() public static méthode

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
Résultat IEnumerable

DuplicateKeys() public static méthode

Finds keys that appear more than once in 'd'
public static DuplicateKeys ( ResxDocument d ) : IEnumerable
d ResxDocument The document to check for duplicate keys
Résultat IEnumerable

IdenticalValues() public static méthode

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
Résultat IEnumerable

MismatchedMetadata() public static méthode

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
Résultat IEnumerable

MissingKeys() public static méthode

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
Résultat IEnumerable

MissingSpacePreserve() public static méthode

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
Résultat IEnumerable

PresentKeys() public static méthode

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
Résultat IEnumerable