C# Класс Jwc.Experiment.Xunit.ParameterizedCommandContext

Represents context of a parameterized command.
Наследование: TestCommandContext
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetMethodContext ( object testObject ) : ITestMethodContext

Gets information of the test method.

GetStaticMethodContext ( ) : ITestMethodContext

Gets information of the static test method.

ParameterizedCommandContext ( IMethodInfo testMethod, ISpecimenBuilderFactory factory, IEnumerable arguments ) : System

Initializes a new instance of the ParameterizedCommandContext class.

Описание методов

GetMethodContext() публичный Метод

Gets information of the test method.
public GetMethodContext ( object testObject ) : ITestMethodContext
testObject object /// The test object. ///
Результат ITestMethodContext

GetStaticMethodContext() публичный Метод

Gets information of the static test method.
public GetStaticMethodContext ( ) : ITestMethodContext
Результат ITestMethodContext

ParameterizedCommandContext() публичный Метод

Initializes a new instance of the ParameterizedCommandContext class.
public ParameterizedCommandContext ( IMethodInfo testMethod, ISpecimenBuilderFactory factory, IEnumerable arguments ) : System
testMethod IMethodInfo /// A test method. ///
factory ISpecimenBuilderFactory /// A factory to create test fixture. ///
arguments IEnumerable /// Explicit arguments of the test method. ///
Результат System