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

update to allow external access to a constructor that doesn't have an operation base #21395

Merged
merged 4 commits into from
May 27, 2021
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using Azure.Core;
using Azure.Core.Pipeline;

namespace Azure.ResourceManager.Core
{
/// <summary>
Expand Down Expand Up @@ -34,6 +38,18 @@ internal ContainerBase(ClientContext clientContext, ResourceIdentifier id)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ContainerBase"/> class.
/// </summary>
/// <param name="options"> The options to use. </param>
/// <param name="credential"> The credential to use. </param>
/// <param name="baseUri"> The base uri to use. </param>
/// <param name="pipeline"> The http pipeline policy to use. </param>
protected ContainerBase(ArmClientOptions options, TokenCredential credential, Uri baseUri, HttpPipeline pipeline)
: this(new ClientContext(options, credential, baseUri, pipeline))
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ContainerBase"/> class.
/// </summary>
Expand Down