C# Класс Xunit.ConfigReader_Json

This class is used to read configuration information for a test assembly.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Load ( Stream configStream ) : Xunit.TestAssemblyConfiguration

Loads the test assembly configuration for the given test assembly from a JSON stream. Caller is responsible for opening the stream.

Load ( string assemblyFileName, string configFileName = null ) : Xunit.TestAssemblyConfiguration

Loads the test assembly configuration for the given test assembly.

Приватные методы

Метод Описание
File_OpenRead ( string path ) : Stream
GetFileOpenReadMethod ( ) : MethodInfo
LoadFile ( string configFileName ) : Xunit.TestAssemblyConfiguration

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

Load() публичный статический Метод

Loads the test assembly configuration for the given test assembly from a JSON stream. Caller is responsible for opening the stream.
public static Load ( Stream configStream ) : Xunit.TestAssemblyConfiguration
configStream Stream Stream containing config for an assembly
Результат Xunit.TestAssemblyConfiguration

Load() публичный статический Метод

Loads the test assembly configuration for the given test assembly.
public static Load ( string assemblyFileName, string configFileName = null ) : Xunit.TestAssemblyConfiguration
assemblyFileName string The test assembly.
configFileName string The test assembly configuration file.
Результат Xunit.TestAssemblyConfiguration