Exemple #1
0
 private JsonSerializerSettings postSettings(IWorkspaceFeatureCollection features)
 => SerializerSettings.For(new FilterPropertiesContractResolver(
                               new List <IPropertiesFilter>
 {
     new IgnoreAttributeFilter <IgnoreWhenPostingAttribute>(),
     new RequiresFeatureAttributeFilter(features)
 }));
 private JsonSerializerSettings postSettings()
 => SerializerSettings.For(new FilterPropertiesContractResolver(
                               new List <IPropertiesFilter>
 {
     new IgnoreAttributeFilter <IgnoreWhenPostingAttribute>()
 }));