Пример #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);