Click or drag to resize
CacheItemContractResolver Class
Custom IContractResolver to exclude specific properties when (de)serializing.
Inheritance Hierarchy
SystemObject
  DefaultContractResolver
    CamelCasePropertyNamesContractResolver
      CMS.Helpers.InternalCacheItemContractResolver

Namespace: CMS.Helpers.Internal
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public class CacheItemContractResolver : CamelCasePropertyNamesContractResolver

The CacheItemContractResolver type exposes the following members.

Constructors
  NameDescription
Public methodCacheItemContractResolver
Constructor.
Top
Fields
  NameDescription
Protected fieldIncludedDeclaringTypes
List of property types which are included in the contract.
Top
Properties
  NameDescription
Public propertyDefaultMembersSearchFlags Obsolete. (Inherited from DefaultContractResolver.)
Public propertyDynamicCodeGeneration (Inherited from DefaultContractResolver.)
Public propertyIgnoreIsSpecifiedMembers (Inherited from DefaultContractResolver.)
Public propertyIgnoreSerializableAttribute (Inherited from DefaultContractResolver.)
Public propertyIgnoreSerializableInterface (Inherited from DefaultContractResolver.)
Public propertyIgnoreShouldSerializeMembers (Inherited from DefaultContractResolver.)
Public propertyNamingStrategy (Inherited from DefaultContractResolver.)
Public propertySerializeCompilerGeneratedMembers (Inherited from DefaultContractResolver.)
Top
Methods
  NameDescription
Protected methodCreateArrayContract (Inherited from DefaultContractResolver.)
Protected methodCreateConstructorParameters (Inherited from DefaultContractResolver.)
Protected methodCreateContract (Inherited from DefaultContractResolver.)
Protected methodCreateDictionaryContract (Inherited from DefaultContractResolver.)
Protected methodCreateDynamicContract (Inherited from DefaultContractResolver.)
Protected methodCreateISerializableContract (Inherited from DefaultContractResolver.)
Protected methodCreateLinqContract (Inherited from DefaultContractResolver.)
Protected methodCreateMemberValueProvider (Inherited from DefaultContractResolver.)
Protected methodCreateObjectContract (Inherited from DefaultContractResolver.)
Protected methodCreatePrimitiveContract (Inherited from DefaultContractResolver.)
Protected methodCreateProperties (Inherited from DefaultContractResolver.)
Protected methodCreateProperty
Creates a JsonProperty for the given MemberInfo. Includes only properties of declaring type defined in the IncludedDeclaringTypes field.
(Overrides DefaultContractResolver.CreateProperty(MemberInfo, MemberSerialization).)
Protected methodCreatePropertyFromConstructorParameter (Inherited from DefaultContractResolver.)
Protected methodCreateStringContract (Inherited from DefaultContractResolver.)
Public methodGetResolvedPropertyName (Inherited from DefaultContractResolver.)
Protected methodGetSerializableMembers (Inherited from DefaultContractResolver.)
Public methodResolveContract (Inherited from CamelCasePropertyNamesContractResolver.)
Protected methodResolveContractConverter (Inherited from DefaultContractResolver.)
Protected methodResolveDictionaryKey (Inherited from DefaultContractResolver.)
Protected methodResolveExtensionDataName (Inherited from DefaultContractResolver.)
Protected methodResolvePropertyName (Inherited from DefaultContractResolver.)
Top
Remarks
This API supports the framework infrastructure and is not intended to be used directly from your code.
See Also