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