Skip to content

Commit

Permalink
Allow .NET HttpCommandExecutor subclasses to set CommandInfoRepository
Browse files Browse the repository at this point in the history
This allows subclasses of HttpCommandExecutor to properly update the
CommandInfoRepository upon creating a new session. Please note that
making the property setter protected should not be assumed as part of
the permanent API contract. It may be removed at any time, without
warning, and without following the standard project deprecation
pattern.
  • Loading branch information
jimevans committed Feb 27, 2019
1 parent cb09d81 commit 8227f97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dotnet/src/webdriver/Remote/HttpCommandExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public HttpCommandExecutor(Uri addressOfRemoteServer, TimeSpan timeout, bool ena
public CommandInfoRepository CommandInfoRepository
{
get { return this.commandInfoRepository; }
protected set { this.commandInfoRepository = value; }
}

/// <summary>
Expand Down

0 comments on commit 8227f97

Please sign in to comment.