Summary
Creates "converted"
Specification
.
- Namespace
- FluentSpecification
.Core .Composite - Containing Type
- CastSpecification
<T, TCast>
Syntax
[PublicAPI]
public CastSpecification(ISpecification<TCast> specification)
Attributes
Type | Description |
---|---|
PublicAPI |
Parameters
Name | Type | Description |
---|---|---|
specification | ISpecification |
Specification to convert. |
Return Value
Type | Description |
---|---|
void |
Exceptions
Type | Description |
---|---|
System.ArgumentNullException | Thrown when specification is null. |
System.InvalidOperationException | Thrown when there is no conversion between T and TCast. |