C# 클래스 ResxDiffLib.Operations

파일 보기 프로젝트 열기: tomwadley/resx-diff

공개 메소드들

메소드 설명
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