PlaceholderExtensionCompilationCache - конструктор
Инициализирует новый экземпляр класса.
Пространство имён: Tessa.Compilation.PlaceholdersСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
public PlaceholderExtensionCompilationCache(
TessaCompilationInvalidationReceiver tessaCompilationInvalidationReceiver,
IPlaceholderExtensionCompiler compiler,
ITessaCompilationRepository tessaCompilationRepository,
ITessaCompilationContextProvider<IPlaceholderExtensionScriptDescription> contextProvider,
ITypeProviderFactory typeProviderFactory,
ITypeIdentifierProvider<Guid> typeIdentifierProvider,
IInstanceCreationStrategy instanceCreationStrategy,
[DependencyAttribute("Singleton")] IInstanceLifetimeManager instanceLifetimeManager,
[OptionalDependencyAttribute] IUnityDisposableContainer? unityDisposableContainer = null
)
Public Sub New (
tessaCompilationInvalidationReceiver As TessaCompilationInvalidationReceiver,
compiler As IPlaceholderExtensionCompiler,
tessaCompilationRepository As ITessaCompilationRepository,
contextProvider As ITessaCompilationContextProvider(Of IPlaceholderExtensionScriptDescription),
typeProviderFactory As ITypeProviderFactory,
typeIdentifierProvider As ITypeIdentifierProvider(Of Guid),
instanceCreationStrategy As IInstanceCreationStrategy,
<DependencyAttribute("Singleton")> instanceLifetimeManager As IInstanceLifetimeManager,
<OptionalDependencyAttribute> Optional unityDisposableContainer As IUnityDisposableContainer = Nothing
)
public:
PlaceholderExtensionCompilationCache(
TessaCompilationInvalidationReceiver^ tessaCompilationInvalidationReceiver,
IPlaceholderExtensionCompiler^ compiler,
ITessaCompilationRepository^ tessaCompilationRepository,
ITessaCompilationContextProvider<IPlaceholderExtensionScriptDescription^>^ contextProvider,
ITypeProviderFactory^ typeProviderFactory,
ITypeIdentifierProvider<Guid>^ typeIdentifierProvider,
IInstanceCreationStrategy^ instanceCreationStrategy,
[DependencyAttribute(L"Singleton")] IInstanceLifetimeManager^ instanceLifetimeManager,
[OptionalDependencyAttribute] IUnityDisposableContainer^ unityDisposableContainer = nullptr
)
new :
tessaCompilationInvalidationReceiver : TessaCompilationInvalidationReceiver *
compiler : IPlaceholderExtensionCompiler *
tessaCompilationRepository : ITessaCompilationRepository *
contextProvider : ITessaCompilationContextProvider<IPlaceholderExtensionScriptDescription> *
typeProviderFactory : ITypeProviderFactory *
typeIdentifierProvider : ITypeIdentifierProvider<Guid> *
instanceCreationStrategy : IInstanceCreationStrategy *
[<DependencyAttribute("Singleton")>] instanceLifetimeManager : IInstanceLifetimeManager *
[<OptionalDependencyAttribute>] ?unityDisposableContainer : IUnityDisposableContainer
(* Defaults:
let _unityDisposableContainer = defaultArg unityDisposableContainer null
*)
-> PlaceholderExtensionCompilationCache
Параметры
- tessaCompilationInvalidationReceiver TessaCompilationInvalidationReceiver
Объект, обеспечивающий синхронный сброс кэшей с объектами результатов компиляции.
- compiler IPlaceholderExtensionCompiler
Объект, выполняющий компиляцию расширений на замену плейсхолдеров.
- tessaCompilationRepository ITessaCompilationRepository
Репозиторий для управления результатами компиляции.
- contextProvider ITessaCompilationContextProviderIPlaceholderExtensionScriptDescription
Объект, предоставляющий контекст компиляции с заданным типом.
- typeProviderFactory ITypeProviderFactory
- typeIdentifierProvider ITypeIdentifierProviderGuid
Объект, предоставляющий идентификатор типа.
- instanceCreationStrategy IInstanceCreationStrategy
Стратегия создания экземпляра объекта указанного типа.
- instanceLifetimeManager IInstanceLifetimeManager
Объект, управляющий временем жизни заданного значения.
- unityDisposableContainer IUnityDisposableContainer (Optional)
Контейнер, содержащий объекты
IDisposable,
которые будут освобождены при закрытии контейнеров
IUnityContainer.