src/Castle.Core/DynamicProxy/ModuleScope.cs
/// <summary>
///   Registers a type in this scope's type cache.
/// </summary>
/// <param name = "key">The key to be associated with the type.</param>
/// <param name = "type">The type to be stored in the cache.</param>
Registers a type in this scope's type cache.
Registers a type in this scope ' s type cache .
[Obsolete("Exposes a component that is intended for internal use only.")] 
		[EditorBrowsable(EditorBrowsableState.Never)]
		public void RegisterInCache(CacheKey key, Type type)
		{
			typeCache.AddOrUpdateWithoutTakingLock(key, type);
		}
[ Obsolete ( " " ) ] [ EditorBrowsable ( EditorBrowsableState . Never ) ] public void RegisterInCache ( CacheKey key , Type type ) { typeCache . AddOrUpdateWithoutTakingLock ( key , type ) ; }
Registers a type in this scope's type cache.
Registers a type in this scope ' s type cache .
// TODO: Remove this method.
key
CacheKey
The key to be associated with the type.
The key to be associated with the type .
type
Type
The type to be stored in the cache.
The type to be stored in the cache .