TessaCompilationObjectCacheWithDebugBaseTCompilerContext, TKey, TInstance - конструктор
Пространство имён: Tessa.CompilationСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
protected TessaCompilationObjectCacheWithDebugBase(
string categoryID,
TessaCompilationInvalidationReceiver tessaCompilationInvalidationReceiver,
ITessaCompiler<TCompilerContext> tessaCompiler,
ITessaCompilationRepository tessaCompilationRepository,
ITessaCompilationContextProvider<TCompilerContext> contextProvider,
IUnityDisposableContainer? unityDisposableContainer = null
)
Protected Sub New (
categoryID As String,
tessaCompilationInvalidationReceiver As TessaCompilationInvalidationReceiver,
tessaCompiler As ITessaCompiler(Of TCompilerContext),
tessaCompilationRepository As ITessaCompilationRepository,
contextProvider As ITessaCompilationContextProvider(Of TCompilerContext),
Optional unityDisposableContainer As IUnityDisposableContainer = Nothing
)
protected:
TessaCompilationObjectCacheWithDebugBase(
String^ categoryID,
TessaCompilationInvalidationReceiver^ tessaCompilationInvalidationReceiver,
ITessaCompiler<TCompilerContext>^ tessaCompiler,
ITessaCompilationRepository^ tessaCompilationRepository,
ITessaCompilationContextProvider<TCompilerContext>^ contextProvider,
IUnityDisposableContainer^ unityDisposableContainer = nullptr
)
new :
categoryID : string *
tessaCompilationInvalidationReceiver : TessaCompilationInvalidationReceiver *
tessaCompiler : ITessaCompiler<'TCompilerContext> *
tessaCompilationRepository : ITessaCompilationRepository *
contextProvider : ITessaCompilationContextProvider<'TCompilerContext> *
?unityDisposableContainer : IUnityDisposableContainer
(* Defaults:
let _unityDisposableContainer = defaultArg unityDisposableContainer null
*)
-> TessaCompilationObjectCacheWithDebugBase
Параметры
- categoryID String
Идентификатор категории, к которой относятся результаты компиляции, предоставляемые этим кэшем.
- tessaCompilationInvalidationReceiver TessaCompilationInvalidationReceiver
Объект, обеспечивающий синхронный сброс кэшей с объектами результатов компиляции.
- tessaCompiler ITessaCompilerTCompilerContext
Объект, предоставляющий методы для компиляции объектов системы.
- tessaCompilationRepository ITessaCompilationRepository
Репозиторий для управления результатами компиляции.
- contextProvider ITessaCompilationContextProviderTCompilerContext
Объект, предоставляющий контекст компиляции с заданным типом.
- unityDisposableContainer IUnityDisposableContainer (Optional)
Контейнер, содержащий объекты
IDisposable,
которые будут освобождены при закрытии контейнеров
IUnityContainer.