Class DelegatedSpecification<T>
Resolves a condition based on the provided parameter.
Inheritance
System.Object
DelegatedSpecification<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 DelegatedSpecification<T> : ISpecification<T>
Type Parameters
T
The parameter type |
Constructors
DelegatedSpecification(Func<T, Boolean>)
Creates a new instance.
Declaration
public DelegatedSpecification(Func<T, bool> delegate)
Parameters
System.Func<T, System.Boolean>
delegate
|
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. |