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

Store() public method

Stores the cache item by the specified key.
public Store ( String key, object data ) : void
key String The key.
data object The data.
return void
		public void Store(String key, object data)
		{
			if (logger.IsDebugEnabled)
			{
				logger.DebugFormat("Storing entry {0} with data {1}", key, data);
			}

			GetCurrentContext().Cache.Insert(key, data);
		}