ContentProvider - конструктор
Initializes a new instance of the
ContentProvider class.
Инициализирует новый экземпляр класса
Object.
Пространство имён: Tessa.UI.Views.ContentСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
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 IWorkplaceViewModel
- Модель рабочего места
- layoutSettingsObserverFactory FuncString, IWorkplaceViewModel, ILayoutSettingsObserver
- The layout Settings Observer Factory.
- metadata IDataNodeMetadata
- Метаданные узла рабочего места
- viewFactory IWorkplaceComponentFactory
- Фабрика создания элемента контента
- executorFactory IWorkplaceExtensionExecutorFactory
- Фабрика создания исполнителя расширений
- sortingColumns IDictionaryGuid, IEnumerableISortingColumn
- Список столбцов по которым осуществляется сортировка
- getErrorText FuncIWorkplaceLayoutViewMetadata, String (Optional)
- Фабрика получения ошибки при недоступном представлений
- isCloneCreation Boolean (Optional)
- Признак создания клона