Fork me on GitHubEpicdominant domains
APIEpic.SpecificationsAny<(Of <(<'TCandidate>)>)>OfAnotherType<(Of <<'(Other>)>>)()()()()

OfAnotherType<(Of <(<'Other>)>)> Method
Return a specifications satisfied by any Other that satisfy this specification.

Assembly: Epic.Prelude

Declaration Syntax
C#
protected override ISpecification<Other> OfAnotherType<Other>()
where Other : class
Generic Template Parameters
Other
Either a specialization or an abstraction of TCandidate.
Return Value
A Variant<(Of <(<'FromCandidate, ToCandidate>)>)> specification if Other is an abstraction of TCandidate or a new Any<(Of <(<'TCandidate>)>)> closed on Other otherwise.
blog comments powered by Disqus