public ReflectedPropertyInfo ToInstance(ObjectVM instance) { return(new ReflectedPropertyInfo(instance, PropertyInfo) { HierarchyAttributes = HierarchyAttributes }); }
static protected void DebuggerːBreak(bool condition, ObjectVM sender, string message) { if (!condition) { return; } DebugUtil.Break(message + "\nType: " + DebugUtil.FormatTypeName(sender) + "\nPath: " + DebugUtil.Try(() => sender.MemberPath, "??") ); }
private static void RegisterInstance(ObjectVM o) { s_Instances.Add(new WeakReference(o)); if (DateTime.Now.AddSeconds(-30) < s_InstancesLastCheck) { for (int i = 0; i < s_Instances.Count; i++) { if (!s_Instances[i].IsAlive) { s_Instances.RemoveAt(i); i--; } } } }
static protected void DebuggerːBreak(ObjectVM sender, string message) { DebuggerːBreak(true, sender, message); }
public ReflectedPropertyInfo(ObjectVM reflectedObjectVM, PropertyInfo propertyInfo) { PropertyInfo = propertyInfo; _ReflectedObjectVM = reflectedObjectVM; }
public ViewModelMetadata GetMetadata(ObjectVM viewModelObject) { throw new NotImplementedException("{68B5216F-B46B-42BC-B3F8-A9A75F49411B}"); }
public TreeViewItemSupport(ObjectVM parent) { _parent = parent; }