C# 클래스 CardMaker.Card.Translation.TranslatorBase

파일 보기 프로젝트 열기: nhmkdev/cardmaker 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_dictionaryElementStringCache ElementString>.Dictionary
m_dictionaryMarkupCache FormattedTextDataCache>.Dictionary

공개 메소드들

메소드 설명
AddCachedMarkup ( string sElementName, FormattedTextDataCache zFormattedData ) : void
GetCachedMarkup ( string sElementName ) : FormattedTextDataCache
GetOverrideElement ( ProjectLayoutElement zElement, int nCardIndex, List arrayLine, DeckLine zDeckLine ) : ProjectLayoutElement
GetStringFromTranslationCache ( string sKey ) : ElementString
ResetDeckCache ( ) : void
ResetMarkupCache ( ) : void
ResetMarkupCache ( string sElementName ) : void
ResetTranslationCache ( ) : void
ResetTranslationCache ( ProjectLayoutElement zElement ) : void
TranslateString ( string sRawString, int nCardIndex, DeckLine zDeckLine, ProjectLayoutElement zElement, string sCacheSuffix = "" ) : ElementString

보호된 메소드들

메소드 설명
AddStringToTranslationCache ( string sKey, ElementString zElementString ) : void
TranslateToElementString ( string sRawString, int nCardIndex, DeckLine zDeckLine, ProjectLayoutElement zElement ) : ElementString
TranslatorBase ( int>.Dictionary dictionaryColumnNameToIndex, string>.Dictionary dictionaryDefines, int>.Dictionary dictionaryElementOverrides, List listColumnNames ) : System

메소드 상세

AddCachedMarkup() 공개 메소드

public AddCachedMarkup ( string sElementName, FormattedTextDataCache zFormattedData ) : void
sElementName string
zFormattedData CardMaker.Card.FormattedText.FormattedTextDataCache
리턴 void

AddStringToTranslationCache() 보호된 메소드

protected AddStringToTranslationCache ( string sKey, ElementString zElementString ) : void
sKey string
zElementString ElementString
리턴 void

GetCachedMarkup() 공개 메소드

public GetCachedMarkup ( string sElementName ) : FormattedTextDataCache
sElementName string
리턴 CardMaker.Card.FormattedText.FormattedTextDataCache

GetOverrideElement() 공개 메소드

public GetOverrideElement ( ProjectLayoutElement zElement, int nCardIndex, List arrayLine, DeckLine zDeckLine ) : ProjectLayoutElement
zElement CardMaker.XML.ProjectLayoutElement
nCardIndex int
arrayLine List
zDeckLine DeckLine
리턴 CardMaker.XML.ProjectLayoutElement

GetStringFromTranslationCache() 공개 메소드

public GetStringFromTranslationCache ( string sKey ) : ElementString
sKey string
리턴 ElementString

ResetDeckCache() 공개 메소드

public ResetDeckCache ( ) : void
리턴 void

ResetMarkupCache() 공개 메소드

public ResetMarkupCache ( ) : void
리턴 void

ResetMarkupCache() 공개 메소드

public ResetMarkupCache ( string sElementName ) : void
sElementName string
리턴 void

ResetTranslationCache() 공개 메소드

public ResetTranslationCache ( ) : void
리턴 void

ResetTranslationCache() 공개 메소드

public ResetTranslationCache ( ProjectLayoutElement zElement ) : void
zElement CardMaker.XML.ProjectLayoutElement
리턴 void

TranslateString() 공개 메소드

public TranslateString ( string sRawString, int nCardIndex, DeckLine zDeckLine, ProjectLayoutElement zElement, string sCacheSuffix = "" ) : ElementString
sRawString string
nCardIndex int
zDeckLine DeckLine
zElement CardMaker.XML.ProjectLayoutElement
sCacheSuffix string
리턴 ElementString

TranslateToElementString() 보호된 추상적인 메소드

protected abstract TranslateToElementString ( string sRawString, int nCardIndex, DeckLine zDeckLine, ProjectLayoutElement zElement ) : ElementString
sRawString string
nCardIndex int
zDeckLine DeckLine
zElement CardMaker.XML.ProjectLayoutElement
리턴 ElementString

TranslatorBase() 보호된 메소드

protected TranslatorBase ( int>.Dictionary dictionaryColumnNameToIndex, string>.Dictionary dictionaryDefines, int>.Dictionary dictionaryElementOverrides, List listColumnNames ) : System
dictionaryColumnNameToIndex int>.Dictionary
dictionaryDefines string>.Dictionary
dictionaryElementOverrides int>.Dictionary
listColumnNames List
리턴 System

프로퍼티 상세

m_dictionaryElementStringCache 보호되어 있는 프로퍼티

protected Dictionary m_dictionaryElementStringCache
리턴 ElementString>.Dictionary

m_dictionaryMarkupCache 보호되어 있는 프로퍼티

protected Dictionary m_dictionaryMarkupCache
리턴 FormattedTextDataCache>.Dictionary