Click or drag to resize

CamelCasePropertyNamesExceptDictionaryContractResolver Class

Custom IContractResolver implementation designed for special handling of dictionaries where we do not want to camel-case keys or values, nor ignore null values, on serialization.
Inheritance Hierarchy
SystemObject
  DefaultContractResolver
    ArangoDBNetStandard.SerializationCamelCasePropertyNamesExceptDictionaryContractResolver

Namespace:  ArangoDBNetStandard.Serialization
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public class CamelCasePropertyNamesExceptDictionaryContractResolver : DefaultContractResolver

The CamelCasePropertyNamesExceptDictionaryContractResolver type exposes the following members.

Constructors
  NameDescription
Public methodCamelCasePropertyNamesExceptDictionaryContractResolver
Initializes a new instance of the CamelCasePropertyNamesExceptDictionaryContractResolver class
Top
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 propertySerializeCompilerGeneratedMembers
Gets or sets a value indicating whether compiler generated members should be serialized.
(Inherited from DefaultContractResolver.)
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 (Overrides DefaultContractResolver.CreateDictionaryContract(Type).)
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
Creates properties for the given JsonContract.
(Inherited from DefaultContractResolver.)
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResolveContract
Resolves the contract for a given type.
(Inherited from DefaultContractResolver.)
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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also