public static void UpdateToStringCache(Zetbox.App.Base.TypeRef obj) { //obj.ToStringCache = String.Format("{0}{1}, {2}", // obj.FullName, // obj.GenericArguments.Count > 0 // ? "<" + String.Join(", ", obj.GenericArguments.Select(tr => tr.FullName).ToArray()) + ">" // : String.Empty, // obj.Assembly == null ? "(no assembly)" : obj.Assembly.Name); }
public static void postSet_Assembly(Zetbox.App.Base.TypeRef obj, PropertyPostSetterEventArgs <Zetbox.App.Base.Assembly> e) { obj.UpdateToStringCache(); }
public static void postSet_FullName(Zetbox.App.Base.TypeRef obj, PropertyPostSetterEventArgs <System.String> e) { obj.UpdateToStringCache(); }