本文整理汇总了C#中ILocalizationManager.GetTextTranslationTEST方法的典型用法代码示例。如果您正苦于以下问题:C# ILocalizationManager.GetTextTranslationTEST方法的具体用法?C# ILocalizationManager.GetTextTranslationTEST怎么用?C# ILocalizationManager.GetTextTranslationTEST使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ILocalizationManager
的用法示例。
在下文中一共展示了ILocalizationManager.GetTextTranslationTEST方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: VetumaBaseHelper
/// <summary>
/// Overloaded class contructor
/// Translates text that are necessary for Vetuma auth/payment actions
/// Use PROD and TEST translations cases -> Feature name: VetumaTextModel
/// </summary>
/// <param name="localManager">ILocalizationManager Instance</param>
public VetumaBaseHelper(ILocalizationManager localManager)
{
if (localManager == null)
{
return;
}
this.TxtModel = new VetumaTextModel();
string featureName = typeof(VetumaTextModel).Name;
#if !PROD
this.TxtModel.PaymentDescription = localManager.GetTextTranslationTEST("PaymentDescription", featureName);
this.TxtModel.MessageToSeller = localManager.GetTextTranslationTEST("MessageToSeller", featureName);
this.TxtModel.VetumaButtonInstructions = localManager.GetTextTranslationTEST("VetumaButtonInstructions", featureName);
this.TxtModel.VetumaButtonText = localManager.GetTextTranslationTEST("VetumaButtonText", featureName);
#else
this.TxtModel.PaymentDescription = localManager.GetTextTranslationPROD("PaymentDescription", FeatureName);
this.TxtModel.MessageToSeller = localManager.GetTextTranslationPROD("MessageToSeller", FeatureName);
this.TxtModel.VetumaButtonInstructions = localManager.GetTextTranslationPROD("VetumaButtonInstructions", FeatureName);
this.TxtModel.VetumaButtonText = localManager.GetTextTranslationPROD("VetumaButtonText", FeatureName);
#endif
}