Show / Hide Table of Contents

Struct SaveLocation

The save location for a monitored folder.

Implements
System.IEquatable<SaveLocation>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: QBittorrent.Client
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
Type Name Description
StandardSaveLocation standardFolder
| Improve this Doc View Source

SaveLocation(String)

Creates a new instance for the custom folder.

Declaration
public SaveLocation(string customFolder)
Parameters
Type Name Description
System.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
Type Description
System.String
| 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
Type Description
System.Nullable<StandardSaveLocation>

Methods

| Improve this Doc View Source

Equals(SaveLocation)

Declaration
public readonly bool Equals(SaveLocation other)
Parameters
Type Name Description
SaveLocation other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override readonly bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()
| Improve this Doc View Source

ToString()

Declaration
public override readonly string ToString()
Returns
Type Description
System.String
Overrides
System.ValueType.ToString()

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
Type Name Description
SaveLocation left
SaveLocation right
Returns
Type Description
System.Boolean
| 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
Type Name Description
SaveLocation left
SaveLocation right
Returns
Type Description
System.Boolean

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018 Pavel Fedarovich