ReadOnlyDictionaryAdapter constructor

Adapts a non-generic IDictionary to a read-only dictionary with string keys and nullable object values.

public ReadOnlyDictionaryAdapter(IDictionary inner)
parameter description
inner The non-generic IDictionary to adapt.

Exceptions

exception condition
ArgumentNullException Thrown when inner is null.

Remarks

Initializes a new instance of the ReadOnlyDictionaryAdapter class with the specified non-generic dictionary.

See Also