19 references to Properties
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (1)
28
IDictionary<string, object> properties = httpRequestMessage.
Properties
;
Microsoft.AspNetCore.Http.Connections.Client (2)
HttpConnection.cs (1)
477
request.
Properties
.Add("IsNegotiate", true);
Internal\AccessTokenHttpMessageHandler.cs (1)
30
request.
Properties
.TryGetValue("IsNegotiate", out var value) && value is true
Microsoft.Extensions.Http.Polly (5)
HttpRequestMessageExtensions.cs (2)
36
request.
Properties
.TryGetValue(PolicyExecutionContextKey, out var context);
57
request.
Properties
[PolicyExecutionContextKey] = context;
PolicyHttpMessageHandler.cs (3)
163
if (request.
Properties
.TryGetValue(PriorResponseKey, out var priorResult) && priorResult is IDisposable disposable)
166
request.
Properties
.Remove(PriorResponseKey);
172
request.
Properties
[PriorResponseKey] = result;
Microsoft.Extensions.Http.Polly.Tests (5)
HttpRequestMessageExtensionsTest.cs (5)
19
request.
Properties
[HttpRequestMessageExtensions.PolicyExecutionContextKey] = expected;
50
request.
Properties
[HttpRequestMessageExtensions.PolicyExecutionContextKey] = null;
74
var actual = request.
Properties
[HttpRequestMessageExtensions.PolicyExecutionContextKey];
89
request.
Properties
[HttpRequestMessageExtensions.PolicyExecutionContextKey] = new Context(Guid.NewGuid().ToString());
99
var actual = request.
Properties
[HttpRequestMessageExtensions.PolicyExecutionContextKey];
Microsoft.Extensions.Http.Resilience.Tests (6)
Resilience\RequestMessageSnapshotTests.cs (6)
48
request.
Properties
["some-new-prop"] = "ABC";
50
cloned.
Properties
.Should().NotContainKey("some-new-prop");
64
initialRequest.
Properties
.Add("A", "A");
65
initialRequest.
Properties
.Add("B", "B");
86
cloned.
Properties
["A"].Should().Be("A");
87
cloned.
Properties
["B"].Should().Be("B");