Castle.MonoRail.Framework.Services.DefaultCacheProvider.HasKey C# (CSharp) Method

HasKey() public method

Determines whether the specified key is on the cache.
public HasKey ( String key ) : bool
key String The key.
return bool
		public bool HasKey(String key)
		{
			if (logger.IsDebugEnabled)
			{
				logger.DebugFormat("Checking for entry existence with key {0}", key);
			}
			
			return Get(key) != null;
		}