public static String VersionedName(this RecordDef t) { var Name = FullName(t); var Version = t.Version; if (Version == "") { return(Name); } return(Name + "[" + Version + "]"); }
public static String TypeFriendlyName(this RecordDef t) { var Name = String.Join(".", t.Name); var Version = t.Version; if (Version == "") { return(Name); } return(Name + "At" + Version); }
public static String FullName(this RecordDef t) { return(String.Join(".", t.Name)); }
/// <summary>记录</summary> public static TypeDef CreateRecord(RecordDef Value) { return(new TypeDef { _Tag = TypeDefTag.Record, Record = Value }); }