TessaCompilationFactoryTKey, TInstance - конструктор
Инициализирует новый экземпляр класса.
Пространство имён: Tessa.CompilationСборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
public TessaCompilationFactory(
ITypeProvider typeProvider,
ITypeIdentifierProvider<TKey> typeIdentifierProvider,
IInstanceCreationStrategy instanceCreationStrategy,
IInstanceLifetimeManager? instanceLifetimeManager = null
)
Public Sub New (
typeProvider As ITypeProvider,
typeIdentifierProvider As ITypeIdentifierProvider(Of TKey),
instanceCreationStrategy As IInstanceCreationStrategy,
Optional instanceLifetimeManager As IInstanceLifetimeManager = Nothing
)
public:
TessaCompilationFactory(
ITypeProvider^ typeProvider,
ITypeIdentifierProvider<TKey>^ typeIdentifierProvider,
IInstanceCreationStrategy^ instanceCreationStrategy,
IInstanceLifetimeManager^ instanceLifetimeManager = nullptr
)
new :
typeProvider : ITypeProvider *
typeIdentifierProvider : ITypeIdentifierProvider<'TKey> *
instanceCreationStrategy : IInstanceCreationStrategy *
?instanceLifetimeManager : IInstanceLifetimeManager
(* Defaults:
let _instanceLifetimeManager = defaultArg instanceLifetimeManager null
*)
-> TessaCompilationFactory
Параметры
- typeProvider ITypeProvider
-
- typeIdentifierProvider ITypeIdentifierProviderTKey
Объект, предоставляющий идентификатор типа.
- instanceCreationStrategy IInstanceCreationStrategy
Стратегия создания экземпляра объекта указанного типа.
- instanceLifetimeManager IInstanceLifetimeManager (Optional)
- Способ управления жизненным циклом экземпляров TInstance или значение , если он не используется.