Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: ReadOnlyDictionary<TK, TV> AsReadOnly<TK, TV>(this IDictionary<TK, TV>)

Declaration

public static ReadOnlyDictionary<TK, TV> AsReadOnly<TK, TV>(
    this IDictionary<TK, TV> dict
)

Summary

Creates and returns a read-only wrapper around this dictionary. Note: a new wrapper is created on every call. Consider caching it.

Generic type parameters

TKThis type parameter is not documented.
TVThis type parameter is not documented.