ContentProviderFactory - делегат
Фабрика создания поставщика отображаемых элементов содержимого
Пространство имён: Tessa.UI.Views.ContentСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
[NotNullAttribute]
public delegate IContentProvider ContentProviderFactory(
[NotNullAttribute] IWorkplaceViewModel workplace,
[NotNullAttribute] IDataNodeMetadata metadata,
[NotNullAttribute] IWorkplaceComponentFactory viewFactory,
[CanBeNullAttribute] IDictionary<Guid, IEnumerable<ISortingColumn>> sortingColumns,
[CanBeNullAttribute] Func<IWorkplaceLayoutViewMetadata, string> getErrorText = null,
bool isCloneCreation = false
)
<NotNullAttribute>
Public Delegate Function ContentProviderFactory (
<NotNullAttribute> workplace As IWorkplaceViewModel,
<NotNullAttribute> metadata As IDataNodeMetadata,
<NotNullAttribute> viewFactory As IWorkplaceComponentFactory,
<CanBeNullAttribute> sortingColumns As IDictionary(Of Guid, IEnumerable(Of ISortingColumn)),
<CanBeNullAttribute> Optional getErrorText As Func(Of IWorkplaceLayoutViewMetadata, String) = Nothing,
Optional isCloneCreation As Boolean = false
) As IContentProvider
[NotNullAttribute]
public delegate IContentProvider^ ContentProviderFactory(
[NotNullAttribute] IWorkplaceViewModel^ workplace,
[NotNullAttribute] IDataNodeMetadata^ metadata,
[NotNullAttribute] IWorkplaceComponentFactory^ viewFactory,
[CanBeNullAttribute] IDictionary<Guid, IEnumerable<ISortingColumn^>^>^ sortingColumns,
[CanBeNullAttribute] Func<IWorkplaceLayoutViewMetadata^, String^>^ getErrorText = nullptr,
bool isCloneCreation = false
)
[<NotNullAttribute>]
type ContentProviderFactory =
delegate of
[<NotNullAttribute>] workplace : IWorkplaceViewModel *
[<NotNullAttribute>] metadata : IDataNodeMetadata *
[<NotNullAttribute>] viewFactory : IWorkplaceComponentFactory *
[<CanBeNullAttribute>] sortingColumns : IDictionary<Guid, IEnumerable<ISortingColumn>> *
[<CanBeNullAttribute>] ?getErrorText : Func<IWorkplaceLayoutViewMetadata, string> *
?isCloneCreation : bool
(* Defaults:
let _getErrorText = defaultArg getErrorText null
let _isCloneCreation = defaultArg isCloneCreation false
*)
-> IContentProvider
- workplace IWorkplaceViewModel
-
Модель-представление рабочего места
- metadata IDataNodeMetadata
-
Метаданные
- viewFactory IWorkplaceComponentFactory
-
Фабрика создания отображаемого элемента
- sortingColumns IDictionaryGuid, IEnumerableISortingColumn
-
Список столбцов по которым осуществляется сортировка
- getErrorText FuncIWorkplaceLayoutViewMetadata, String (Optional)
-
Функция возвращающая сообщение об ошибке при не возможности создания элемента
- isCloneCreation Boolean (Optional)
-
Признак клонирования
IContentProviderПоставщик отображаемых элементов