public EquivalencyOptions<TExpectation> WithMapping<TNestedExpectation,TNestedSubject>( string expectationMemberName, string subjectMemberName )
Parameters
- expectationMemberName
- A field or property name indicating the member to map from.
- subjectMemberName
- A field or property name indicating the member to map to.
Type Parameters
- TNestedExpectation
- TNestedSubject