static private ValueOfErrorCode ( TranslatorOutputType type, String value ) : ErrorCode | ||
type | TranslatorOutputType | |
value | String | |
return | ErrorCode |
static ErrorCode ValueOfErrorCode(TranslatorOutputType type,
String value)
{
if (type == TranslatorOutputType.StandardXml)
{
return TranslatorStandardTags.ValueOfErrorCode(value);
}
else
{
return TranslatorSimpleTags.ValueOfErrorCode(value);
}
}