Class ApiLevelAttribute
Annotates the minimal API Level that supports the annotated method.
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public sealed class ApiLevelAttribute : Attribute
Constructors
| Improve this Doc View SourceApiLevelAttribute(ApiLevel)
Initializes a new instance of the ApiLevelAttribute class.
Declaration
public ApiLevelAttribute(ApiLevel apiLevel)
Parameters
Type | Name | Description |
---|---|---|
ApiLevel | apiLevel | The minimal API Level that supports the annotated method. |
Properties
| Improve this Doc View SourceLevel
Gets the minimal API Level that supports the annotated method.
Declaration
public ApiLevel Level { get; }
Property Value
Type | Description |
---|---|
ApiLevel |
MaxVersion
The maximum API version that supports the annotated method.
Declaration
public string MaxVersion { get; set; }
Property Value
Type | Description |
---|---|
String |
MinVersion
The minimal API version that supports the annotated method.
Declaration
public string MinVersion { get; set; }
Property Value
Type | Description |
---|---|
String |