| LoggerCacheTKey, 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 public TLogger GetOrAdd(
TKey key,
Func<TKey, TLogger> createLogger
)
Public Function GetOrAdd (
key As TKey,
createLogger As Func(Of TKey, TLogger)
) As TLogger
public:
virtual TLogger GetOrAdd(
TKey key,
Func<TKey, TLogger>^ createLogger
) sealed
abstract GetOrAdd :
key : 'TKey *
createLogger : Func<'TKey, 'TLogger> -> 'TLogger
override GetOrAdd :
key : 'TKey *
createLogger : Func<'TKey, 'TLogger> -> 'TLogger
Parameters
- key
- Type: TKey
Key. - createLogger
- Type: SystemFuncTKey, TLogger
Logger factory method.
Return Value
Type:
TLoggerLogger.
Implements
ILoggerCacheTKey, TLoggerGetOrAdd(TKey, FuncTKey, TLogger)See Also