CastSpecification<T, TCast>.

IsSatisfiedBy(T) Method

Summary

Checks if Specification is satisfied by candidate object.

Syntax

[PublicAPI]
public bool IsSatisfiedBy(T candidate)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
candidate T Candidate object to verification.

Return Value

Type Description
bool

true - Specification is satisfied by candidate.

false - is not satisfied or cannot cast candidate from T to TCast.

GitHub