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

rename base classes and flatten operation / container #22892

Merged
merged 7 commits into from
Jul 28, 2021
Merged
Show file tree
Hide file tree
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.Core
/// <summary>
/// A class representing Azure resource API versions base.
/// </summary>
public class ApiVersionsBase : IEquatable<string>, IComparable<string>
internal class ApiVersionsBase : IEquatable<string>, IComparable<string>
{
private readonly string _value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected PredefinedTagCreateOrUpdateOperation()
{
}

internal PredefinedTagCreateOrUpdateOperation(OperationsBase parentOperation, Response<PredefinedTagData> response)
internal PredefinedTagCreateOrUpdateOperation(ResourceOperations parentOperation, Response<PredefinedTagData> response)
{
_operation = new OperationOrResponseInternals<PredefinedTag>(Response.FromValue(new PredefinedTag(parentOperation, response.Value), response.GetRawResponse()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected PredefinedTag()
/// </summary>
/// <param name="operations"> The operations object to copy the client parameters from. </param>
/// <param name="data"> The data model representing the generic azure resource. </param>
internal PredefinedTag(OperationsBase operations, PredefinedTagData data)
internal PredefinedTag(ResourceOperations operations, PredefinedTagData data)
: base(new ClientContext(operations.ClientOptions,operations.Credential, operations.BaseUri, operations.Pipeline), operations.Id)
{
Data = data;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Azure.ResourceManager.Resources
/// <summary>
/// A class representing collection of Tag and its operations.
/// </summary>
public class PredefinedTagContainer : ContainerBase
public class PredefinedTagContainer : ResourceContainer
{
/// <summary>
/// Initializes a new instance of the <see cref="PredefinedTagContainer"/> class for mocking.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace Azure.ResourceManager.Resources
{
/// <summary> The predefined tag client. </summary>
public class PredefinedTagOperations : ResourceOperationsBase
public class PredefinedTagOperations : ResourceOperations
{
/// <summary>
/// The resource type for predefined tag.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading