TessaListViewHelperConvertToListViewModel(IEnumerableString, IEnumerableSchemeDbType, IEnumerableIListObject, IViewMetadata, Boolean, FuncObservableCollectionIRowViewModel, ListTessaGridColumnViewModel, IViewMetadata, IViewsTessaListViewModel) - метод
The convert to list view model.
Пространство имён: Tessa.UI.ViewsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public static IViewsTessaListViewModel ConvertToListViewModel(
IEnumerable<string> columnNames,
IEnumerable<SchemeDbType> dataTypes,
IEnumerable<IList<Object>> data,
IViewMetadata viewMetadata,
bool showHiddenColumns,
Func<ObservableCollection<IRowViewModel>, List<TessaGridColumnViewModel>, IViewMetadata, IViewsTessaListViewModel> modelFactory
)
Public Shared Function ConvertToListViewModel (
columnNames As IEnumerable(Of String),
dataTypes As IEnumerable(Of SchemeDbType),
data As IEnumerable(Of IList(Of Object)),
viewMetadata As IViewMetadata,
showHiddenColumns As Boolean,
modelFactory As Func(Of ObservableCollection(Of IRowViewModel), List(Of TessaGridColumnViewModel), IViewMetadata, IViewsTessaListViewModel)
) As IViewsTessaListViewModel
public:
static IViewsTessaListViewModel^ ConvertToListViewModel(
IEnumerable<String^>^ columnNames,
IEnumerable<SchemeDbType>^ dataTypes,
IEnumerable<IList<Object^>^>^ data,
IViewMetadata^ viewMetadata,
bool showHiddenColumns,
Func<ObservableCollection<IRowViewModel^>^, List<TessaGridColumnViewModel^>^, IViewMetadata^, IViewsTessaListViewModel^>^ modelFactory
)
static member ConvertToListViewModel :
columnNames : IEnumerable<string> *
dataTypes : IEnumerable<SchemeDbType> *
data : IEnumerable<IList<Object>> *
viewMetadata : IViewMetadata *
showHiddenColumns : bool *
modelFactory : Func<ObservableCollection<IRowViewModel>, List<TessaGridColumnViewModel>, IViewMetadata, IViewsTessaListViewModel> -> IViewsTessaListViewModel
- columnNames IEnumerableString
- The column Names.
- dataTypes IEnumerableSchemeDbType
- The data Types.
- data IEnumerableIListObject
- The data.
- viewMetadata IViewMetadata
- The view metadata.
- showHiddenColumns Boolean
- The show hidden columns.
- modelFactory FuncObservableCollectionIRowViewModel, ListTessaGridColumnViewModel, IViewMetadata, IViewsTessaListViewModel
- The model factory.
IViewsTessaListViewModelThe
IViewsTessaListViewModel.