/** * get value as string * * @return */ public string toStringValue(ResourceTable resourceTable, CultureInfo locale) { if (data != null) { return(CDATA_START + data + CDATA_END); } else { return(CDATA_START + typedData.toStringValue(resourceTable, locale) + CDATA_END); } }
/** * get value as string * * @return */ public string toStringValue(ResourceTable resourceTable, CultureInfo locale) { if (value != null) { return(value.toStringValue(resourceTable, locale)); } else { return("null"); } }
public string toStringValue(ResourceTable resourceTable, CultureInfo locale) { if (rawValue != null) { return(rawValue); } else if (typedValue != null) { return(typedValue.toStringValue(resourceTable, locale)); } else { // something happen; return(""); } }