Struct SaveLocation
The save location for a monitored folder.
Assembly: QBittorrent.Client.dll
Syntax
[JsonConverter(typeof(SaveLocationConverter))]
public readonly struct SaveLocation : IEquatable<SaveLocation>
Constructors
|
Improve this Doc
View Source
SaveLocation(StandardSaveLocation)
Creates a new instance for the standard folder.
Declaration
public SaveLocation(StandardSaveLocation standardFolder)
Parameters
|
Improve this Doc
View Source
SaveLocation(String)
Creates a new instance for the custom folder.
Declaration
public SaveLocation(string customFolder)
Parameters
Type |
Name |
Description |
String |
customFolder |
|
Properties
|
Improve this Doc
View Source
CustomFolder
Gets the custom folder. This property is null if StandardFolder is not null.
Declaration
public readonly string CustomFolder { get; }
Property Value
|
Improve this Doc
View Source
StandardFolder
Gets the custom folder. This property is null if CustomFolder is not null.
Declaration
public readonly StandardSaveLocation? StandardFolder { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(SaveLocation)
Declaration
public readonly bool Equals(SaveLocation other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override readonly bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override readonly string ToString()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Equality(SaveLocation, SaveLocation)
Determines whether two specified save locations are equal.
Declaration
public static bool operator ==(SaveLocation left, SaveLocation right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(SaveLocation, SaveLocation)
Determines whether two specified save locations are different.
Declaration
public static bool operator !=(SaveLocation left, SaveLocation right)
Parameters
Returns
Implements