TestFixtureBuilderExtensions.

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

Summary

Adds the specified key and value to the provided dictionary.

Syntax

public static TBuilder With<TBuilder, TKey, TField>(this TBuilder this, ref Dictionary<TKey, TField> dictionary, TKey key, TField value) 
    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.
key TKey The key.
value TField The value.

Return Value

Type Description
TBuilder