StorageSerializableGetObjectDictionaryT, TSerializable(DictionaryString, Object, String, FuncTSerializable, T) - метод |
Пространство имён:
Tessa.Platform.Storage
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис protected static Dictionary<string, T> GetObjectDictionary<T, TSerializable>(
Dictionary<string, Object> storage,
string key,
Func<TSerializable, T> convertFunc
)
where TSerializable : new(), IStorageSerializable
Protected Shared Function GetObjectDictionary(Of T, TSerializable As {New, IStorageSerializable}) (
storage As Dictionary(Of String, Object),
key As String,
convertFunc As Func(Of TSerializable, T)
) As Dictionary(Of String, T)
protected:
generic<typename T, typename TSerializable>
where TSerializable : gcnew(), IStorageSerializable
static Dictionary<String^, T>^ GetObjectDictionary(
Dictionary<String^, Object^>^ storage,
String^ key,
Func<TSerializable, T>^ convertFunc
)
static member GetObjectDictionary :
storage : Dictionary<string, Object> *
key : string *
convertFunc : Func<'TSerializable, 'T> -> Dictionary<string, 'T> when 'TSerializable : new() and IStorageSerializable
Параметры
- storage
- Тип: System.Collections.GenericDictionaryString, Object
- key
- Тип: SystemString
- convertFunc
- Тип: SystemFuncTSerializable, T
Параметры типа
- T
- TSerializable
Возвращаемое значение
Тип:
DictionaryString,
TСм. также