ContentProvider - конструктор |
Пространство имён:
Tessa.UI.Views.Content
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public ContentProvider(
[NotNullAttribute] IWorkplaceViewModel workplace,
[NotNullAttribute] Func<string, IWorkplaceViewModel, ILayoutSettingsObserver> layoutSettingsObserverFactory,
[NotNullAttribute] IDataNodeMetadata metadata,
[NotNullAttribute] IWorkplaceComponentFactory viewFactory,
[NotNullAttribute] IWorkplaceExtensionExecutorFactory executorFactory,
[CanBeNullAttribute] IDictionary<Guid, IEnumerable<ISortingColumn>> sortingColumns,
[CanBeNullAttribute] Func<IWorkplaceLayoutViewMetadata, string> getErrorText = null,
bool isCloneCreation = false
)
Public Sub New (
<NotNullAttribute> workplace As IWorkplaceViewModel,
<NotNullAttribute> layoutSettingsObserverFactory As Func(Of String, IWorkplaceViewModel, ILayoutSettingsObserver),
<NotNullAttribute> metadata As IDataNodeMetadata,
<NotNullAttribute> viewFactory As IWorkplaceComponentFactory,
<NotNullAttribute> executorFactory As IWorkplaceExtensionExecutorFactory,
<CanBeNullAttribute> sortingColumns As IDictionary(Of Guid, IEnumerable(Of ISortingColumn)),
<CanBeNullAttribute> Optional getErrorText As Func(Of IWorkplaceLayoutViewMetadata, String) = Nothing,
Optional isCloneCreation As Boolean = false
)
public:
ContentProvider(
[NotNullAttribute] IWorkplaceViewModel^ workplace,
[NotNullAttribute] Func<String^, IWorkplaceViewModel^, ILayoutSettingsObserver^>^ layoutSettingsObserverFactory,
[NotNullAttribute] IDataNodeMetadata^ metadata,
[NotNullAttribute] IWorkplaceComponentFactory^ viewFactory,
[NotNullAttribute] IWorkplaceExtensionExecutorFactory^ executorFactory,
[CanBeNullAttribute] IDictionary<Guid, IEnumerable<ISortingColumn^>^>^ sortingColumns,
[CanBeNullAttribute] Func<IWorkplaceLayoutViewMetadata^, String^>^ getErrorText = nullptr,
bool isCloneCreation = false
)
new :
[<NotNullAttribute>] workplace : IWorkplaceViewModel *
[<NotNullAttribute>] layoutSettingsObserverFactory : Func<string, IWorkplaceViewModel, ILayoutSettingsObserver> *
[<NotNullAttribute>] metadata : IDataNodeMetadata *
[<NotNullAttribute>] viewFactory : IWorkplaceComponentFactory *
[<NotNullAttribute>] executorFactory : IWorkplaceExtensionExecutorFactory *
[<CanBeNullAttribute>] sortingColumns : IDictionary<Guid, IEnumerable<ISortingColumn>> *
[<CanBeNullAttribute>] ?getErrorText : Func<IWorkplaceLayoutViewMetadata, string> *
?isCloneCreation : bool
(* Defaults:
let _getErrorText = defaultArg getErrorText null
let _isCloneCreation = defaultArg isCloneCreation false
*)
-> ContentProvider
Параметры
- workplace
- Тип: Tessa.UI.ViewsIWorkplaceViewModel
Модель рабочего места - layoutSettingsObserverFactory
- Тип: SystemFuncString, IWorkplaceViewModel, ILayoutSettingsObserver
The layout Settings Observer Factory. - metadata
- Тип: Tessa.Views.WorkplacesIDataNodeMetadata
Метаданные узла рабочего места - viewFactory
- Тип: Tessa.UI.Views.ContentIWorkplaceComponentFactory
Фабрика создания элемента контента - executorFactory
- Тип: Tessa.UI.Views.ExtensionsIWorkplaceExtensionExecutorFactory
Фабрика создания исполнителя расширений - sortingColumns
- Тип: System.Collections.GenericIDictionaryGuid, IEnumerableISortingColumn
Список столбцов по которым осуществляется сортировка - getErrorText (Optional)
- Тип: SystemFuncIWorkplaceLayoutViewMetadata, String
Фабрика получения ошибки при недоступном представлений - isCloneCreation (Optional)
- Тип: SystemBoolean
Признак создания клона
См. также