C# Class Xunit.Reporting.Internal.Configuration.ArgumentMapFactory

A mapper class which is responsible for mapping console arguments to a one to many map for arguments.
Inheritance: IArgumentMapFactory
Afficher le fichier Open project: BjRo/xunitbddextensions Class Usage Examples

Méthodes publiques

Méthode Description
ArgumentMapFactory ( Func argsFactory ) : System

Creates a new instance of the ArgumentMapFactory

Create ( ) : IArgumentMap

A factory for creating an IArgumentMap instance.

Private Methods

Méthode Description
AddToDictionary ( string key, string value, IDictionary dictionary ) : void
Map ( IEnumerable input ) : IArgumentMap

Maps the collection of strings to a dictionary of arguments

Method Details

ArgumentMapFactory() public méthode

Creates a new instance of the ArgumentMapFactory
public ArgumentMapFactory ( Func argsFactory ) : System
argsFactory Func /// Specifies a delegate for obtaining the console arguments. ///
Résultat System

Create() public méthode

A factory for creating an IArgumentMap instance.
public Create ( ) : IArgumentMap
Résultat IArgumentMap