| ILoggerCacheTKey, TLoggerGetOrAdd Method |
[This is preliminary documentation and is subject to change.]
Gets or adds a logger.
Namespace: YallaAssembly: Yalla (in Yalla.dll) Version: 1.0.5813.3073
Syntax TLogger GetOrAdd(
TKey key,
Func<TKey, TLogger> createLogger
)
Function GetOrAdd (
key As TKey,
createLogger As Func(Of TKey, TLogger)
) As TLogger
TLogger GetOrAdd(
TKey key,
Func<TKey, TLogger>^ createLogger
)
abstract GetOrAdd :
key : 'TKey *
createLogger : Func<'TKey, 'TLogger> -> 'TLogger
Parameters
- key
- Type: TKey
Key. - createLogger
- Type: SystemFuncTKey, TLogger
Logger factory method.
Return Value
Type:
TLoggerLogger.
See Also