Show / Hide Table of Contents

Class DefaultMetadataSpecification

The default implementation of the metadata specifications, determining the policies used to allow a given field or property to be selected as a valid member.

Inheritance
System.Object
MetadataSpecification
DefaultMetadataSpecification
Inherited Members
MetadataSpecification.IsSatisfiedBy(PropertyInfo)
MetadataSpecification.IsSatisfiedBy(FieldInfo)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ExtendedXmlSerializer.ExtensionModel.Xml
Assembly: ExtendedXmlSerializer.dll
Syntax
public sealed class DefaultMetadataSpecification : MetadataSpecification, IMetadataSpecification, ISpecification<PropertyInfo>, ISpecification<FieldInfo>

Properties

Default

The default instance.

Declaration
public static DefaultMetadataSpecification Default { get; }
Property Value
DefaultMetadataSpecification

Field

Field specification instance that allows a field member if it's an instance (non-static) member, public, or if it is decorated with either the System.Xml.Serialization.XmlAttributeAttribute or System.Xml.Serialization.XmlElementAttribute attributes.

Declaration
public static ISpecification<FieldInfo> Field { get; }
Property Value
ISpecification<System.Reflection.FieldInfo>

Property

Property specification instance that allows a property member if it's an instance (non-static) member, is public, and can be read.

Declaration
public static ISpecification<PropertyInfo> Property { get; }
Property Value
ISpecification<System.Reflection.PropertyInfo>

Extension Methods

ExtensionMethods.Return<T, TOut>(T, TOut)
ExtensionMethods.To<T>(Object)
ExtensionMethods.AsValid<T>(Object, String)
ExtensionMethodsForAttachedProperties.Get<TType, TValue>(TType, Property<TType, TValue>)
ExtensionMethodsForAttachedProperties.Set<TType, TValue>(TType, Property<TType, TValue>, TValue)
ExtensionMethodsForCoreSources.If<TParameter, TResult>(TResult, ISpecification<TParameter>)
ExtensionMethodsForCoreSources.Let<TSpecification, TInstance>(TInstance, ISpecification<TSpecification>, TInstance)
Back to top Generated by DocFX