protected string ReadString(IQBStringType value) { string result = string.Empty; if (value != null) { result = value.GetValue(); } return(result); }
/// <summary> /// Returns a valid non-exploding string from an IQBStringType object /// </summary> /// <param name="obj">The object to be translated</param> /// <returns>a translated string</returns> public static string Value(IQBStringType obj) { if (obj == null) { return(string.Empty); } else { return(obj.GetValue()); } }
/// <summary> /// Returns a valid non-exploding string from an IQBStringType object /// </summary> /// <param name="obj">The object to be translated</param> /// <returns>a translated string</returns> public static string Value( IQBStringType obj ) { if(obj == null) { return string.Empty; } else { return obj.GetValue (); } }