Ejemplo n.º 1
0
            public static bool Execute(object container, InspectorVisitor <T> visitor, IProperty property, PropertyPath path,
                                       string propertyName, InspectorVisitLevel visitLevel)
            {
                var action = new GetCustomInspectorCallback(visitor, property, path, propertyName, visitLevel);

                PropertyBagResolver.Resolve(container.GetType()).Cast(ref action);
                return(action.Visited);
            }
Ejemplo n.º 2
0
 private bool TryGetInspector <TValue>(
     ref TValue value,
     IProperty property,
     PropertyPath path,
     string name,
     InspectorVisitLevel visitLevel)
 => GetCustomInspectorCallback.Execute(value, this, property, path, name, visitLevel) ||
 TryGetInspector <TValue>(this, property, path, name, visitLevel);