Class DeprecatedAttribute
Annotates the method/property that is not longer supported in the API.
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public class DeprecatedAttribute : Attribute
Constructors
| Improve this Doc View SourceDeprecatedAttribute(String)
Initializes a new instance of the DeprecatedAttribute class.
Declaration
public DeprecatedAttribute(string fromVersion)
Parameters
Type | Name | Description |
---|---|---|
String | fromVersion | The version from which the support for annotated method/property was dropped. |
Properties
| Improve this Doc View SourceDescription
Describes the reason for deprecation and alternative API.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
FromVersion
Gets the version from which the support for annotated method/property was dropped.
Declaration
public string FromVersion { get; }
Property Value
Type | Description |
---|---|
String |