Show / Hide Table of Contents

Class MetadataSpecification

Baseline decorated metadata specification for convenience.

Inheritance
System.Object
MetadataSpecification
DefaultMetadataSpecification
Inherited Members
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.ContentModel.Members
Assembly: ExtendedXmlSerializer.dll
Syntax
public class MetadataSpecification : IMetadataSpecification, ISpecification<PropertyInfo>, ISpecification<FieldInfo>

Constructors

MetadataSpecification(ISpecification<PropertyInfo>, ISpecification<FieldInfo>)

Creates a new instance.

Declaration
public MetadataSpecification(ISpecification<PropertyInfo> property, ISpecification<FieldInfo> field)
Parameters
ISpecification<System.Reflection.PropertyInfo> property

The specification to use for properties.

ISpecification<System.Reflection.FieldInfo> field

The specification to use for fields.

Methods

IsSatisfiedBy(FieldInfo)

Returns a boolean based on the provided parameter.

Declaration
public bool IsSatisfiedBy(FieldInfo parameter)
Parameters
System.Reflection.FieldInfo parameter

Returns
System.Boolean

The condition based on the provided parameter.

Implements
ISpecification<T>.IsSatisfiedBy(T)

IsSatisfiedBy(PropertyInfo)

Returns a boolean based on the provided parameter.

Declaration
public bool IsSatisfiedBy(PropertyInfo parameter)
Parameters
System.Reflection.PropertyInfo parameter

Returns
System.Boolean

The condition based on the provided parameter.

Implements
ISpecification<T>.IsSatisfiedBy(T)

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