TessaViewModelAdapter - конструктор
Пространство имён: Tessa.Views.ParserСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public TessaViewModelAdapter(
Dbms dbms,
[NotNullAttribute] TessaViewModel model,
[NotNullAttribute] Func<IViewQueryExecutor> executorFactory,
[NotNullAttribute] Func<ISession> sessionAccessor,
[NotNullAttribute] IViewMetadataInterpreter metadataInterpreter,
[NotNullAttribute] IQueryGeneratorFactory queryGeneratorFactory,
[NotNullAttribute] Func<IValidationResultBuilder> validationResultBuilderFactory,
[NotNullAttribute] ViewMetadataEvaluationContextFactory evaluationContextFactory,
[NotNullAttribute] IDbScope dbScope,
[NotNullAttribute] NormalizeParameterNameResolver normalizeParameterNameResolver,
[NotNullAttribute] IViewGetDataExecutor viewGetDataExecutor,
[NotNullAttribute] IViewMetadataConverter<IJsonViewMetadata, IViewMetadata> metadataConverter,
[NotNullAttribute] IErrorManager errorManager,
[NotNullAttribute] ICardCache cardCache
)
Public Sub New (
dbms As Dbms,
<NotNullAttribute> model As TessaViewModel,
<NotNullAttribute> executorFactory As Func(Of IViewQueryExecutor),
<NotNullAttribute> sessionAccessor As Func(Of ISession),
<NotNullAttribute> metadataInterpreter As IViewMetadataInterpreter,
<NotNullAttribute> queryGeneratorFactory As IQueryGeneratorFactory,
<NotNullAttribute> validationResultBuilderFactory As Func(Of IValidationResultBuilder),
<NotNullAttribute> evaluationContextFactory As ViewMetadataEvaluationContextFactory,
<NotNullAttribute> dbScope As IDbScope,
<NotNullAttribute> normalizeParameterNameResolver As NormalizeParameterNameResolver,
<NotNullAttribute> viewGetDataExecutor As IViewGetDataExecutor,
<NotNullAttribute> metadataConverter As IViewMetadataConverter(Of IJsonViewMetadata, IViewMetadata),
<NotNullAttribute> errorManager As IErrorManager,
<NotNullAttribute> cardCache As ICardCache
)
public:
TessaViewModelAdapter(
Dbms dbms,
[NotNullAttribute] TessaViewModel^ model,
[NotNullAttribute] Func<IViewQueryExecutor^>^ executorFactory,
[NotNullAttribute] Func<ISession^>^ sessionAccessor,
[NotNullAttribute] IViewMetadataInterpreter^ metadataInterpreter,
[NotNullAttribute] IQueryGeneratorFactory^ queryGeneratorFactory,
[NotNullAttribute] Func<IValidationResultBuilder^>^ validationResultBuilderFactory,
[NotNullAttribute] ViewMetadataEvaluationContextFactory^ evaluationContextFactory,
[NotNullAttribute] IDbScope^ dbScope,
[NotNullAttribute] NormalizeParameterNameResolver^ normalizeParameterNameResolver,
[NotNullAttribute] IViewGetDataExecutor^ viewGetDataExecutor,
[NotNullAttribute] IViewMetadataConverter<IJsonViewMetadata^, IViewMetadata^>^ metadataConverter,
[NotNullAttribute] IErrorManager^ errorManager,
[NotNullAttribute] ICardCache^ cardCache
)
new :
dbms : Dbms *
[<NotNullAttribute>] model : TessaViewModel *
[<NotNullAttribute>] executorFactory : Func<IViewQueryExecutor> *
[<NotNullAttribute>] sessionAccessor : Func<ISession> *
[<NotNullAttribute>] metadataInterpreter : IViewMetadataInterpreter *
[<NotNullAttribute>] queryGeneratorFactory : IQueryGeneratorFactory *
[<NotNullAttribute>] validationResultBuilderFactory : Func<IValidationResultBuilder> *
[<NotNullAttribute>] evaluationContextFactory : ViewMetadataEvaluationContextFactory *
[<NotNullAttribute>] dbScope : IDbScope *
[<NotNullAttribute>] normalizeParameterNameResolver : NormalizeParameterNameResolver *
[<NotNullAttribute>] viewGetDataExecutor : IViewGetDataExecutor *
[<NotNullAttribute>] metadataConverter : IViewMetadataConverter<IJsonViewMetadata, IViewMetadata> *
[<NotNullAttribute>] errorManager : IErrorManager *
[<NotNullAttribute>] cardCache : ICardCache -> TessaViewModelAdapter
Параметры
- dbms Dbms
-
Тип используемой базы данных по умолчанию
- model TessaViewModel
-
Преобразуемая модель
- executorFactory FuncIViewQueryExecutor
-
Фабрика создания исполнителя запроса
- sessionAccessor FuncISession
-
Поставщик сессии
- metadataInterpreter IViewMetadataInterpreter
-
Фабрика создания метаданных
- queryGeneratorFactory IQueryGeneratorFactory
-
Фабрика создания генератора текстов представлений
- validationResultBuilderFactory FuncIValidationResultBuilder
-
Фабрика создания построителя результатов валидации
- evaluationContextFactory ViewMetadataEvaluationContextFactory
-
The evaluation Context Factory.
- dbScope IDbScope
-
The db Scope.
- normalizeParameterNameResolver NormalizeParameterNameResolver
- Функция возвращающая функцию обработки параметров
- viewGetDataExecutor IViewGetDataExecutor
- исполнитель представлений
- metadataConverter IViewMetadataConverterIJsonViewMetadata, IViewMetadata
- Конвертер объектов метаданных из json формата.
- errorManager IErrorManager
- Объект, управляющий отправкой и получением ошибок.
- cardCache ICardCache
- Потокобезопасный кэш с карточками и дополнительными настройками.