TessaListViewHelperConvertToListViewModel(IEnumerableString, IEnumerableSchemeDbType, IEnumerableIDictionaryString, Object, 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<IDictionary<string, 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 IDictionary(Of String, 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<IDictionary<String^, 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<IDictionary<string, 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 IEnumerableIDictionaryString, Object
- The data.
- viewMetadata IViewMetadata
- The view metadata.
- showHiddenColumns Boolean
- The show hidden columns.
- modelFactory FuncObservableCollectionIRowViewModel, ListTessaGridColumnViewModel, IViewMetadata, IViewsTessaListViewModel
- The model factory.
IViewsTessaListViewModelThe
IViewsTessaListViewModel.