Class IsClosedGenericBasedOnOpenGenericSpecification
A specification for types that are a closed form of an open generic type.
Inheritance
System.Object
IsClosedGenericBasedOnOpenGenericSpecification
Implements
CSF.Specifications.ISpecificationExpression<System.Type>
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: CSF.Validation.ValidatorBuilding
Assembly: CSF.Validation.dll
Syntax
public class IsClosedGenericBasedOnOpenGenericSpecification : ISpecificationExpression<Type>
Constructors
| Improve this Doc View SourceIsClosedGenericBasedOnOpenGenericSpecification(Type)
Initializes a new instance of the IsClosedGenericBasedOnOpenGenericSpecification class.
Declaration
public IsClosedGenericBasedOnOpenGenericSpecification(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | An open generic type. |
Methods
| Improve this Doc View SourceGetExpression()
Gets the match expression.
Declaration
public Expression<Func<Type, bool>> GetExpression()
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression<System.Func<System.Type, System.Boolean>> | An expression. |
Implements
CSF.Specifications.ISpecificationExpression<T>