public Boolean IncludeProperty(IEnumerable<HttpMethod> httpMethods, PropertyInfo propertyInfo, Type parentObjectType) { return httpMethods.All(m => !m.Equals(ApiHttpMethod.Patch)) || propertyInfo.GetCustomAttributes(typeof(WritableAttribute), true).Any(); }