예제 #1
0
            public static bool Execute(object container, InspectorVisitor <T> visitor, IProperty property, PropertyPath path,
                                       string propertyName, InspectorVisitLevel visitLevel)
            {
                var action = new GetPropertyDrawerCallback(visitor, property, path, propertyName, visitLevel);

                PropertyBagResolver.Resolve(container.GetType()).Cast(ref action);
                return(action.Visited);
            }
예제 #2
0
 bool TryGetDrawer <TValue>(
     ref TValue value,
     IProperty property,
     PropertyPath path,
     string name,
     InspectorVisitLevel visitLevel)
 => GetPropertyDrawerCallback.Execute(value, Visitor, property, path, name, visitLevel) ||
 TryGetDrawer <TValue>(Visitor, property, path, name, visitLevel);