Method CreateCacheKeyForLocation
CreateCacheKeyForLocation(ResourceManager, IResourceLocation, Type)
Creates the cache key used to lookup operations in the ResourceManager cache. Override this method to provide custom cache key generation for your provider.
Declaration
public override IOperationCacheKey CreateCacheKeyForLocation(ResourceManager rm, IResourceLocation location, Type desiredType)
Parameters
| Type | Name | Description |
|---|---|---|
| ResourceManager | rm | The ResourceManager instance. |
| IResourceLocation | location | The resource location. |
| Type | desiredType | The desired type of the resource. |
Returns
| Type | Description |
|---|---|
| IOperationCacheKey | An IOperationCacheKey for use with the async operation cache. |