Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide some options and header type constructors #7916

Merged
merged 2 commits into from
Oct 4, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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