Implemented interface member:
method
GetOrAdd
Microsoft.Extensions.Options.IOptionsMonitorCache<TOptions>.GetOrAdd(System.String, System.Func<TOptions>)
2 references to GetOrAdd
Microsoft.Extensions.Options (2)
OptionsCache.cs (1)
62
return
GetOrAdd
(name, () => localCreateOptions(localName ?? Options.DefaultName, localFactoryArgument));
OptionsManager.cs (1)
51
options = _cache.
GetOrAdd
(name, () => localFactory.Create(localName));