The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

IBuilderExtensions.

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

Summary

Adds the specified key and value to the provided dictionary.
Namespace
ReactiveUI.Testing
Containing Type
IBuilderExtensions

Syntax

public static TBuilder With<TBuilder, TKey, TField>(this TBuilder builder, ref Dictionary<TKey, TField> dictionary, TKey key, TField value) 
    where TBuilder : IBuilder where TKey : notnull

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
builder TBuilder This builder.
dictionary Dictionary<TKey, TField> The dictionary.
key TKey The key.
value TField The value.

Return Value

Type Description
TBuilder The builder.