TestFixtureBuilderExtensions.

With<TBuilder, TKey, TField>(TBuilder, Dictionary<TKey, TField>, KeyValuePair<TKey, TField>) Method

Summary

Adds the specified key value pair to the provided dictionary.

Syntax

public static TBuilder With<TBuilder, TKey, TField>(this TBuilder this, ref Dictionary<TKey, TField> dictionary, KeyValuePair<TKey, TField> keyValuePair) 
    where TBuilder : ITestFixtureBuilder

Type Parameters

Name Description
TBuilder The type of the builder.
TKey The type of the key.
TField The type of the field.

Parameters

Name Type Description
this TBuilder The this.
dictionary Dictionary<TKey, TField> The dictionary.
keyValuePair KeyValuePair<TKey, TField> The key value pair.

Return Value

Type Description
TBuilder