Class ApiSourceVersionAttribute
An attribute to store apiSourceVersion for a given Assembly.
Inherited Members
Namespace: Unity.Cloud.Common
Syntax
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class ApiSourceVersionAttribute : Attribute, _Attribute
Constructors
ApiSourceVersionAttribute(String, String)
Creates an instance of the ApiSourceVersionAttribute with the provided name and version.
Declaration
public ApiSourceVersionAttribute(string name, string version)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | The API name. |
| String | version | The API version. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if the |
Properties
apiSourceVersion
Returns the stored apiSourceVersion.
Declaration
public ApiSourceVersion apiSourceVersion { get; }
Property Value
| Type | Description |
|---|---|
| ApiSourceVersion |