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