Method SetupTimeToLive
SetupTimeToLive<T>(TimeSpan)
Sets the time-to-live for the caching proxy of the specified type.
Declaration
void SetupTimeToLive<T>(TimeSpan timeToLive) where T : classParameters
| Type | Name | Description | 
|---|---|---|
| TimeSpan | timeToLive | The time span after which the cache entries will expire. | 
Type Parameters
| Name | Description | 
|---|---|
| T | The type of the proxy to configure. | 
