CompilationCacheContainerRegisterTCache, TCompilerContext, TKey, TInstance - метод
Регистрирует кэш в контейнере.
Пространство имён: Tessa.CompilationСборка: Tessa (в Tessa.dll) Версия: 4.0.8
public ICompilationCacheContainer Register<TCache, TCompilerContext, TKey, TInstance>()
where TCache : Object, ITessaCompilationObjectCache<TCompilerContext, TKey, TInstance>
where TInstance : class
Public Function Register(Of TCache As {Object, ITessaCompilationObjectCache(Of TCompilerContext, TKey, TInstance)}, TCompilerContext, TKey, TInstance As Class) As ICompilationCacheContainer
public:
generic<typename TCache, typename TCompilerContext, typename TKey, typename TInstance>
where TCache : Object, ITessaCompilationObjectCache<TCompilerContext, TKey, TInstance>
where TInstance : ref class
virtual ICompilationCacheContainer^ Register() sealed
abstract Register : unit -> ICompilationCacheContainer when 'TCache : Object and ITessaCompilationObjectCache<'TCompilerContext, 'TKey, 'TInstance> when 'TInstance : not struct
override Register : unit -> ICompilationCacheContainer when 'TCache : Object and ITessaCompilationObjectCache<'TCompilerContext, 'TKey, 'TInstance> when 'TInstance : not struct
- TCache
- Тип регистрируемого кэша.
- TCompilerContext
- Тип контекста компилятора.
- TKey
- Тип ключа, по которому можно получить доступ к экземпляру объекта.
- TInstance
- Тип объекта.
ICompilationCacheContainerТекущий объект для создания цепочки.
ICompilationCacheContainerRegisterTCache, TCompilerContext, TKey, TInstance