C# 클래스 Sage.ResourceManagement.Internationalizer

Provides facilities for transforming XML resources into separate, localized versions.
파일 보기 프로젝트 열기: igorfrance/sage 1 사용 예제들

공개 메소드들

메소드 설명
Internationalize ( XmlResource resource ) : InternationalizationSummary

Internationalizes the specified resource.

Internationalizer ( SageContext context ) : System

Initializes a new instance of the Internationalizer class, using the specified context.

Transform ( XmlDocument input, DictionaryFileCollection collection, string locale, XmlWriter output, InternationalizeType type ) : void

Transforms the specified input.

비공개 메소드들

메소드 설명
GetTranslationDictionaryCollection ( SageContext context ) : DictionaryFileCollection

메소드 상세

Internationalize() 공개 메소드

Internationalizes the specified resource.
/// One of the locales configured for the category being processed doesn't have any dictionary files. ///
public Internationalize ( XmlResource resource ) : InternationalizationSummary
resource XmlResource The resource.
리턴 InternationalizationSummary

Internationalizer() 공개 메소드

Initializes a new instance of the Internationalizer class, using the specified context.
public Internationalizer ( SageContext context ) : System
context SageContext The context under which the code is being executed.
리턴 System

Transform() 공개 메소드

Transforms the specified input.
public Transform ( XmlDocument input, DictionaryFileCollection collection, string locale, XmlWriter output, InternationalizeType type ) : void
input System.Xml.XmlDocument The input.
collection DictionaryFileCollection The collection.
locale string The locale.
output System.Xml.XmlWriter The output.
type InternationalizeType The type.
리턴 void