Show / Hide Table of Contents

Class DecoratedSpecification<T>

Resolves a condition based on the provided parameter.

Inheritance
System.Object
DecoratedSpecification<T>
ConverterBase<T>
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.Core.Specifications
Assembly: ExtendedXmlSerializer.dll
Syntax
public class DecoratedSpecification<T> : ISpecification<T>
Type Parameters
T

The parameter type

Constructors

DecoratedSpecification(ISpecification<T>)

Creates a new instance.

Declaration
public DecoratedSpecification(ISpecification<T> specification)
Parameters
ISpecification<T> specification

Methods

IsSatisfiedBy(T)

Returns a boolean based on the provided parameter.

Declaration
public virtual bool IsSatisfiedBy(T parameter)
Parameters
T parameter

The parameter from which to resolve the condition.

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)
ExtensionMethodsForCoreSpecifications.ToDelegate<T>(ISpecification<T>)
ExtensionMethodsForCoreSpecifications.Build<T>(ISpecification<T>, T)
ExtensionMethodsForCoreSpecifications.Fix<T>(ISpecification<T>, T)
ExtensionMethodsForCoreSpecifications.Any<T>(ISpecification<T>, T[])
ExtensionMethodsForCoreSpecifications.Or<T>(ISpecification<T>, ISpecification<T>[])
ExtensionMethodsForCoreSpecifications.And<T>(ISpecification<T>, ISpecification<T>[])
ExtensionMethodsForCoreSpecifications.Inverse<T>(ISpecification<T>)
ExtensionMethodsForCoreSpecifications.AdaptForNull<T>(ISpecification<T>)
ExtensionMethodsForCoreSpecifications.Adapt<T>(ISpecification<T>)
Back to top Generated by DocFX