Click or drag to resize

EditableListContractResolver Class

JSON.Net serializes ALL properties of a class by default this class will tell JSON.NET to only serialize properties if they MATCH by name or type
Inheritance Hierarchy
SystemObject
  DefaultContractResolver
    CamelCasePropertyNamesContractResolver
      Dynamicweb.ControlsEditableListContractResolver

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public class EditableListContractResolver : CamelCasePropertyNamesContractResolver

The EditableListContractResolver type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDefaultMembersSearchFlags Obsolete.
Gets or sets the default members search flags.
(Inherited from DefaultContractResolver.)
Public propertyDynamicCodeGeneration
Gets a value indicating whether members are being get and set using dynamic code generation. This value is determined by the runtime permissions available.
(Inherited from DefaultContractResolver.)
Public propertyIgnoreIsSpecifiedMembers
Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
(Inherited from DefaultContractResolver.)
Public propertyIgnoreSerializableAttribute
Gets or sets a value indicating whether to ignore the SerializableAttribute attribute when serializing and deserializing types.
(Inherited from DefaultContractResolver.)
Public propertyIgnoreSerializableInterface
Gets or sets a value indicating whether to ignore the ISerializable interface when serializing and deserializing types.
(Inherited from DefaultContractResolver.)
Public propertyIgnoreShouldSerializeMembers
Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
(Inherited from DefaultContractResolver.)
Public propertyNamingStrategy
Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
(Inherited from DefaultContractResolver.)
Public propertyProperties
Public propertySerializeCompilerGeneratedMembers
Gets or sets a value indicating whether compiler generated members should be serialized.
(Inherited from DefaultContractResolver.)
Public propertyTypes
Top
Methods
  NameDescription
Protected methodCreateArrayContract
Creates a JsonArrayContract for the given type.
(Inherited from DefaultContractResolver.)
Protected methodCreateConstructorParameters
Creates the constructor parameters.
(Inherited from DefaultContractResolver.)
Protected methodCreateContract
Determines which contract type is created for the given type.
(Inherited from DefaultContractResolver.)
Protected methodCreateDictionaryContract
Creates a JsonDictionaryContract for the given type.
(Inherited from DefaultContractResolver.)
Protected methodCreateDynamicContract
Creates a JsonDynamicContract for the given type.
(Inherited from DefaultContractResolver.)
Protected methodCreateISerializableContract
Creates a JsonISerializableContract for the given type.
(Inherited from DefaultContractResolver.)
Protected methodCreateLinqContract
Creates a JsonLinqContract for the given type.
(Inherited from DefaultContractResolver.)
Protected methodCreateMemberValueProvider
Creates the IValueProvider used by the serializer to get and set values from a member.
(Inherited from DefaultContractResolver.)
Protected methodCreateObjectContract
Creates a JsonObjectContract for the given type.
(Inherited from DefaultContractResolver.)
Protected methodCreatePrimitiveContract
Creates a JsonPrimitiveContract for the given type.
(Inherited from DefaultContractResolver.)
Protected methodCreateProperties (Overrides DefaultContractResolver.CreateProperties(Type, MemberSerialization).)
Protected methodCreateProperty
Creates a JsonProperty for the given MemberInfo.
(Inherited from DefaultContractResolver.)
Protected methodCreatePropertyFromConstructorParameter
Creates a JsonProperty for the given ParameterInfo.
(Inherited from DefaultContractResolver.)
Protected methodCreateStringContract
Creates a JsonStringContract for the given type.
(Inherited from DefaultContractResolver.)
Public methodGetResolvedPropertyName
Gets the resolved name of the property.
(Inherited from DefaultContractResolver.)
Protected methodGetSerializableMembers
Gets the serializable members for the type.
(Inherited from DefaultContractResolver.)
Public methodResolveContract
Resolves the contract for a given type.
(Inherited from CamelCasePropertyNamesContractResolver.)
Protected methodResolveContractConverter
Resolves the default JsonConverter for the contract.
(Inherited from DefaultContractResolver.)
Protected methodResolveDictionaryKey
Resolves the key of the dictionary. By default ResolvePropertyName(String) is used to resolve dictionary keys.
(Inherited from DefaultContractResolver.)
Protected methodResolveExtensionDataName
Resolves the name of the extension data. By default no changes are made to extension data names.
(Inherited from DefaultContractResolver.)
Protected methodResolvePropertyName
Resolves the name of the property.
(Inherited from DefaultContractResolver.)
Top
Remarks