public static String VersionedName(this AliasDef t) { var Name = FullName(t); var Version = t.Version; if (Version == "") { return(Name); } return(Name + "[" + Version + "]"); }
public static String TypeFriendlyName(this AliasDef t) { var Name = String.Join(".", t.Name); var Version = t.Version; if (Version == "") { return(Name); } return(Name + "At" + Version); }
public static String FullName(this AliasDef t) { return(String.Join(".", t.Name)); }
/// <summary>别名</summary> public static TypeDef CreateAlias(AliasDef Value) { return(new TypeDef { _Tag = TypeDefTag.Alias, Alias = Value }); }