Skip to content

Commit

Permalink
Hide some options and header type constructors (Azure#7916)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym authored Oct 4, 2019
1 parent f2be5e5 commit c4f62d2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/core/Azure.Core/src/Http/RequestHeaders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Azure.Core.Http
{
private readonly Request _request;

public RequestHeaders(Request request)
internal RequestHeaders(Request request)
{
_request = request;
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/Azure.Core/src/Http/ResponseHeaders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Azure.Core.Http
{
private readonly Response _response;

public ResponseHeaders(Response response)
internal ResponseHeaders(Response response)
{
_response = response;
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/Azure.Core/src/Pipeline/DiagnosticsOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Azure.Core.Pipeline
{
public class DiagnosticsOptions
{
public DiagnosticsOptions()
internal DiagnosticsOptions()
{
IsTelemetryEnabled = !EnvironmentVariableToBool(Environment.GetEnvironmentVariable("AZURE_TELEMETRY_DISABLED")) ?? true;
ApplicationId = DefaultApplicationId;
Expand Down
4 changes: 4 additions & 0 deletions sdk/core/Azure.Core/src/Pipeline/RetryOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ namespace Azure.Core.Pipeline
/// </summary>
public class RetryOptions
{
internal RetryOptions()
{
}

/// <summary>
/// The maximum number of retry attempts before giving up.
/// </summary>
Expand Down

0 comments on commit c4f62d2

Please sign in to comment.