ThemeStorageLoader(IThemeSettings, FuncCancellationToken, ValueTaskHashSetString, FuncCancellationToken, ValueTaskDictionaryString, Object, FuncCancellationToken, ValueTaskDictionaryString, DictionaryString, Object) - конструктор
Пространство имён: Tessa.ThemesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ThemeStorageLoader(
IThemeSettings settings,
Func<CancellationToken, ValueTask<HashSet<string>>> getPathListFuncAsync = null,
Func<CancellationToken, ValueTask<Dictionary<string, Object>>> createThemeStorageFuncAsync = null,
Func<CancellationToken, ValueTask<Dictionary<string, Dictionary<string, Object>>>> createThemeCacheFuncAsync = null
)
Public Sub New (
settings As IThemeSettings,
Optional getPathListFuncAsync As Func(Of CancellationToken, ValueTask(Of HashSet(Of String))) = Nothing,
Optional createThemeStorageFuncAsync As Func(Of CancellationToken, ValueTask(Of Dictionary(Of String, Object))) = Nothing,
Optional createThemeCacheFuncAsync As Func(Of CancellationToken, ValueTask(Of Dictionary(Of String, Dictionary(Of String, Object)))) = Nothing
)
public:
ThemeStorageLoader(
IThemeSettings^ settings,
Func<CancellationToken, ValueTask<HashSet<String^>^>>^ getPathListFuncAsync = nullptr,
Func<CancellationToken, ValueTask<Dictionary<String^, Object^>^>>^ createThemeStorageFuncAsync = nullptr,
Func<CancellationToken, ValueTask<Dictionary<String^, Dictionary<String^, Object^>^>^>>^ createThemeCacheFuncAsync = nullptr
)
new :
settings : IThemeSettings *
?getPathListFuncAsync : Func<CancellationToken, ValueTask<HashSet<string>>> *
?createThemeStorageFuncAsync : Func<CancellationToken, ValueTask<Dictionary<string, Object>>> *
?createThemeCacheFuncAsync : Func<CancellationToken, ValueTask<Dictionary<string, Dictionary<string, Object>>>>
(* Defaults:
let _getPathListFuncAsync = defaultArg getPathListFuncAsync null
let _createThemeStorageFuncAsync = defaultArg createThemeStorageFuncAsync null
let _createThemeCacheFuncAsync = defaultArg createThemeCacheFuncAsync null
*)
-> ThemeStorageLoader
Параметры
- settings IThemeSettings
-
- getPathListFuncAsync FuncCancellationToken, ValueTaskHashSetString (Optional)
-
- createThemeStorageFuncAsync FuncCancellationToken, ValueTaskDictionaryString, Object (Optional)
-
- createThemeCacheFuncAsync FuncCancellationToken, ValueTaskDictionaryString, DictionaryString, Object (Optional)
-