C# Class ResxDiffLib.Helpers

Exibir arquivo Open project: tomwadley/resx-diff

Public Methods

Method 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 method

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
return IEnumerable

DuplicateKeys() public static method

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

IdenticalValues() public static method

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
return IEnumerable

MismatchedMetadata() public static method

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
return IEnumerable

MissingKeys() public static method

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
return IEnumerable

MissingSpacePreserve() public static method

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
return IEnumerable

PresentKeys() public static method

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
return IEnumerable