StorageSerializableToObjectDictionaryT, TSerializable(IReadOnlyDictionaryString, T, FuncT, TSerializable) - метод |
Пространство имён:
Tessa.Platform.Storage
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис protected static Dictionary<string, Object> ToObjectDictionary<T, TSerializable>(
IReadOnlyDictionary<string, T>? items,
Func<T, TSerializable> convertFunc
)
where TSerializable : IStorageSerializable
Protected Shared Function ToObjectDictionary(Of T, TSerializable As IStorageSerializable) (
items As IReadOnlyDictionary(Of String, T),
convertFunc As Func(Of T, TSerializable)
) As Dictionary(Of String, Object)
protected:
generic<typename T, typename TSerializable>
where TSerializable : IStorageSerializable
static Dictionary<String^, Object^>^ ToObjectDictionary(
IReadOnlyDictionary<String^, T>^ items,
Func<T, TSerializable>^ convertFunc
)
static member ToObjectDictionary :
items : IReadOnlyDictionary<string, 'T> *
convertFunc : Func<'T, 'TSerializable> -> Dictionary<string, Object> when 'TSerializable : IStorageSerializable
Параметры
- items
- Тип: System.Collections.GenericIReadOnlyDictionaryString, T
- convertFunc
- Тип: SystemFuncT, TSerializable
Параметры типа
- T
- TSerializable
Возвращаемое значение
Тип:
DictionaryString,
ObjectСм. также