9 references to Set
Microsoft.AspNetCore.Components.WebAssembly (3)
Http\WebAssemblyHttpRequestMessageExtensions.cs (3)
127requestMessage.Options.Set(FetchRequestOptionsKey, fetchOptions); 150requestMessage.Options.Set(WebAssemblyEnableStreamingRequestKey, streamingEnabled); 169requestMessage.Options.Set(WebAssemblyEnableStreamingResponseKey, streamingEnabled);
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
163redirect.Options.Set(key, property.Value);
Microsoft.Extensions.Http.Polly.Tests (3)
HttpRequestMessageExtensionsTest.cs (3)
21request.Options.Set(new HttpRequestOptionsKey<Context>(HttpRequestMessageExtensions.PolicyExecutionContextKey), expected); 52request.Options.Set(new HttpRequestOptionsKey<Context>(HttpRequestMessageExtensions.PolicyExecutionContextKey), null); 91request.Options.Set(new HttpRequestOptionsKey<Context>(HttpRequestMessageExtensions.PolicyExecutionContextKey), new Context(Guid.NewGuid().ToString()));
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
HttpResilienceBenchmark.cs (1)
28request.Options.Set(new HttpRequestOptionsKey<string>("dummy"), "dummy");
System.Net.Http (1)
System\Net\Http\Metrics\HttpMetricsEnrichmentContext.cs (1)
96options.Set(s_optionsKeyForContext, context);