Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Castle
DynamicProxy
ModuleScope
RegisterInCache
Castle.DynamicProxy.ModuleScope.RegisterInCache C# (CSharp) Method
ModuleScope Class Documentation
Show file
Open project: Jarvin-Guan/CleanAOP
RegisterInCache()
public
method
Registers a type in this scope's type cache.
public
RegisterInCache
(
Castle.DynamicProxy.Generators.CacheKey
key
,
Type
type
) :
void
key
Castle.DynamicProxy.Generators.CacheKey
The key to be associated with the type.
type
System.Type
The type to be stored in the cache.
return
void
public void RegisterInCache(CacheKey key, Type type) { typeCache[key] = type; }
ModuleScope
AddCacheMappings
CreateModule
DefineType
GetAssemblyName
GetFromCache
GetKeyPair
LoadAssemblyIntoCache
ModuleScope
ObtainDynamicModule
ObtainDynamicModuleWithStrongName
ObtainDynamicModuleWithWeakName
RegisterInCache
SaveAssembly