1 implementation of Create
Microsoft.Extensions.Options (1)
OptionsFactory.cs (1)
55
public TOptions
Create
(string name)
7 references to Create
Microsoft.Extensions.ML (2)
PredictionEnginePool.cs (2)
35
var defaultOptions = _predictionEngineOptions.
Create
(string.Empty);
113
var options = _predictionEngineOptions.
Create
(modelName);
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
ObjectPoolServiceCollectionExtensions.cs (1)
113
var options = provider.GetService<IOptionsFactory<DependencyInjectionPoolOptions>>()?.
Create
(typeof(TService).FullName!) ?? new DependencyInjectionPoolOptions();
Microsoft.Extensions.Options (4)
OptionsManager.cs (1)
51
options = _cache.GetOrAdd(name, () => localFactory.
Create
(localName));
OptionsMonitor.cs (2)
96
return _cache.GetOrAdd(localName, () => localFactory.
Create
(localName));
100
return optionsCache.GetOrAdd(name, static (name, factory) => factory.
Create
(name), _factory);
UnnamedOptionsManager.cs (1)
30
return _value ??= _factory.
Create
(Options.DefaultName);