MemberPath<TFixtureItem,TReturnType>.InstanceOf<TInstance> method
Configure the member to be a instance of a class or struct.
csharp
public MemberConfig<TFixtureItem> InstanceOf<TInstance>()
where TInstance : TReturnType
public MemberConfig<TFixtureItem> InstanceOf<TInstance>()
where TInstance : TReturnType
parameter | description |
---|---|
TInstance | The type of the instance. |
Return Value
The MemberConfig
.
See Also
- class MemberConfig<TFixtureItem>
- class MemberPath<TFixtureItem,TReturnType>
- namespace Twizzar.Fixture.Member