Method GetOrCreate
GetOrCreate<T>()
Retrieves or creates a caching proxy for the specified type.
Declaration
T GetOrCreate<T>() where T : class
Returns
| Type | Description |
|---|---|
| T | The caching proxy instance. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the proxy to create. |