Example #1
0
        public IEnumerable <IPropertySchema> GetPropertySchemas([NotNull] IPropertyJsonSerializableObject jsonSerializableObject)
        {
            IEnumerable <IPropertySchema> result = null;

            if (jsonSerializableObject.Value is SelectionRule selectionRule)
            {
                result = jsonSerializableObject.Model.Traverse(selectionRule.Root);
            }

            return(result);
        }
Example #2
0
 public ShadowPropertyJsonSerializableObject([NotNull] IPropertyJsonSerializableObject original) : base(original.Model, original.PropertyType as IJsonSerializableObjectPropertyType)
 {
     _originalId = original.Id;
     _original   = original;
 }