TypeHelper provides static methods that operate on Types.
示例#1
0
 /// <summary>
 /// Get the display name for an object of this type, constructed with the specified args.
 /// </summary>
 public string GetDisplayName(object[] args)
 {
     return(TypeHelper.GetDisplayName(Type, args));
 }
示例#2
0
 /// <summary>
 /// Get the display name for this type
 /// </summary>
 public string GetDisplayName()
 {
     return(TypeHelper.GetDisplayName(Type));
 }