Skip to content

IItemContext<TFixtureItem,TPathProvider>.Get<TReturnType> method

Get a configured member or dependencies of the fixture item.

csharp
public TReturnType Get<TReturnType>(
    Func<TPathProvider, MemberPath<TFixtureItem, TReturnType>> selector)
public TReturnType Get<TReturnType>(
    Func<TPathProvider, MemberPath<TFixtureItem, TReturnType>> selector)
parameterdescription
TReturnTypeThe return type.
selectorFunction for selecting a member.

Return Value

The instance of the requested member or dependencies.

See Also