C# Class ResxDiffLib.Operations

Afficher le fichier Open project: tomwadley/resx-diff

Méthodes publiques

Méthode Description
AddMissingSpacePreserve ( ResxDocument d ) : void

Adds space="preserve" attributes to data elements which are missing it

Alphabetise ( ResxDocument d ) : void

Sorts keys in alphabetical order

CopyKeys ( IEnumerable keys, ResxDocument from, ResxDocument to ) : void

Copies keys from one document to another (complete Data objects)

CopyValues ( IEnumerable keys, ResxDocument from, ResxDocument to ) : void

Copies values from one document to another

Method Details

AddMissingSpacePreserve() public static méthode

Adds space="preserve" attributes to data elements which are missing it
public static AddMissingSpacePreserve ( ResxDocument d ) : void
d ResxDocument The document to add missing space="preserve" attributes to
Résultat void

Alphabetise() public static méthode

Sorts keys in alphabetical order
public static Alphabetise ( ResxDocument d ) : void
d ResxDocument The document whose keys are to be sorted
Résultat void

CopyKeys() public static méthode

Copies keys from one document to another (complete Data objects)
public static CopyKeys ( IEnumerable keys, ResxDocument from, ResxDocument to ) : void
keys IEnumerable The names of the keys to copy
from ResxDocument The document to copy from
to ResxDocument The document to copy to
Résultat void

CopyValues() public static méthode

Copies values from one document to another
public static CopyValues ( IEnumerable keys, ResxDocument from, ResxDocument to ) : void
keys IEnumerable The names of the keys whose values should be copied
from ResxDocument The document to copy from
to ResxDocument The document to copy to
Résultat void