Class ApiSourceVersionAttribute
An attribute to store apiSourceVersion for a given Assembly.
Inherited Members
Namespace: Unity.Cloud.Common
Assembly: Unity.Cloud.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class ApiSourceVersionAttribute : 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 |