CacheManager.SystemRuntimeCaching Simple implementation for the . The type of the cache value. Although the MemoryCache doesn't support regions nor a RemoveAll/Clear method, we will implement it via cache dependencies. Initializes a new instance of the class. The manager configuration. The cache handle configuration. The logger factory. Gets the cache settings. The cache settings. Gets the number of items the cache handle currently maintains. The count. Clears this cache, removing all items in the base cache and all regions. Clears the cache region, removing all items from the specified only. The cache region. Adds a value to the cache. The CacheItem to be added to the cache. true if the key was not already added to the cache, false otherwise. Gets a CacheItem for the specified key. The key being used to identify the item within the cache. The CacheItem. Gets a CacheItem for the specified key. The key being used to identify the item within the cache. The cache region. The CacheItem. Puts the into the cache. If the item exists it will get updated with the new value. If the item doesn't exist, the item will be added to the cache. The CacheItem to be added to the cache. Removes a value from the cache for the specified key. The key being used to identify the item within the cache. true if the key was found and removed from the cache, false otherwise. Removes a value from the cache for the specified key. The key being used to identify the item within the cache. The cache region. true if the key was found and removed from the cache, false otherwise. Extensions for the configuration builder specific to System.Runtime.Caching cache handle. Adds a using a . The name of the cache instance will be 'default'. The builder part. Set this to true if this cache handle should be the source of the backplane. This setting will be ignored if no backplane is configured. The builder part. The builder part. Adds a using a instance with the given . The named cache instance can be configured via app/web.config system.runtime.caching section. The builder part. The name to be used for the cache instance. Set this to true if this cache handle should be the source of the backplane. This setting will be ignored if no backplane is configured. The builder part. If part is null. Thrown if is null.