Skip to content

Commit

Permalink
Merge pull request #1294 from DerekBeattieCG/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
clairernovotny authored Jan 25, 2022
2 parents 637182e + e8d6cb3 commit 97be95a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,13 +778,13 @@ class RequestPropertyHandler : DelegatingHandler
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
{
// See if the request has a the property
if(request.Properties.ContainsKey("SomeKey")
if(request.Properties.ContainsKey("SomeKey"))
{
var someProperty = request.Properties["SomeKey"];
//do stuff
}

if(request.Properties.ContainsKey("someOtherKey")
if(request.Properties.ContainsKey("someOtherKey"))
{
var someOtherProperty = request.Properties["someOtherKey"];
//do stuff
Expand Down

0 comments on commit 97be95a

Please sign in to comment.