C# Класс ResxDiffLib.Operations

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

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

Метод Описание
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

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

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

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
Результат void

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

Sorts keys in alphabetical order
public static Alphabetise ( ResxDocument d ) : void
d ResxDocument The document whose keys are to be sorted
Результат void

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

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
Результат void

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

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
Результат void