예제 #1
0
 /// <summary>
 /// Gets the name, or empty.
 /// </summary>
 /// <param name="item">The item.</param>
 /// <returns>System.String.</returns>
 public static string GetNameOrEmpty(CSiOOAPiName item)
 {
     return(item == null ? string.Empty : item.Name);
 }
예제 #2
0
 /// <summary>
 /// Gets the name, or 'None'.
 /// </summary>
 /// <param name="item">The item.</param>
 /// <returns>System.String.</returns>
 public static string GetNameOrNone(CSiOOAPiName item)
 {
     return(item == null ? Constants.NONE : item.Name);
 }