Class MetadataSpecification
Baseline decorated metadata specification for convenience.
Inheritance
System.Object
MetadataSpecification
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
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. |