public override void Process(IReflector reflector, PropertyInfo property, IMethodRemover methodRemover, ISpecificationBuilder specification) {
     if (CollectionUtils.IsCollectionButNotArray(property.PropertyType)) {
         specification.AddFacet(new CollectionResetFacet(property, specification));
     }
     else {
         base.Process(reflector, property, methodRemover, specification);
     }
 }
        public override IImmutableDictionary <string, ITypeSpecBuilder> Process(IReflector reflector, PropertyInfo property, IMethodRemover methodRemover, ISpecificationBuilder specification, IImmutableDictionary <string, ITypeSpecBuilder> metamodel)
        {
            if (CollectionUtils.IsCollectionButNotArray(property.PropertyType))
            {
                specification.AddFacet(new CollectionResetFacet(property, specification));
                return(metamodel);
            }

            return(base.Process(reflector, property, methodRemover, specification, metamodel));
        }
 public override void Process(IReflector reflector, PropertyInfo property, IMethodRemover methodRemover, ISpecificationBuilder specification)
 {
     if (CollectionUtils.IsCollectionButNotArray(property.PropertyType))
     {
         specification.AddFacet(new CollectionResetFacet(property, specification));
     }
     else
     {
         base.Process(reflector, property, methodRemover, specification);
     }
 }