Click or drag to resize

ConfigurationStorageInVaultValidatingContractResolver Class

Class to extend the default contract resolver, for performing the value validations while the configuration data is being deserialized.
Inheritance Hierarchy
SystemObject
  DefaultContractResolver
    MFiles.VAF.ConfigurationConfigurationStorageInVaultValidatingContractResolver

Namespace:  MFiles.VAF.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.2.0.9
Syntax
C#
protected class ValidatingContractResolver : DefaultContractResolver

The ConfigurationStorageInVaultValidatingContractResolver type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDefaultMembersSearchFlags
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 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 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
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
Override for creating a validating value provider.
(Overrides DefaultContractResolver.CreateMemberValueProvider(MemberInfo).)
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 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 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.)
Top
See Also