| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | using System; |
| | 5 | |
|
| | 6 | | namespace Azure.Core |
| | 7 | | { |
| | 8 | | /// <summary> |
| | 9 | | /// This attribute should be set on all client assemblies with value of one of the resource providers |
| | 10 | | /// from the https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-services-resource-provid |
| | 11 | | /// </summary> |
| | 12 | | [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)] |
| | 13 | | internal class AzureResourceProviderNamespaceAttribute : Attribute |
| | 14 | | { |
| 0 | 15 | | public string ResourceProviderNamespace { get; } |
| | 16 | |
|
| 0 | 17 | | public AzureResourceProviderNamespaceAttribute(string resourceProviderNamespace) |
| | 18 | | { |
| 0 | 19 | | ResourceProviderNamespace = resourceProviderNamespace; |
| 0 | 20 | | } |
| | 21 | | } |
| | 22 | | } |