TimeSpanDelta

StockSharp.Xaml.Charting

Defines a TimeSpan Delta, which provides Major and Minor deltas as used in DateTimeAxis

Implementiert: IAxisDelta<TimeSpan>, IAxisDelta, ICloneable, IEquatable<TimeSpanDelta>

Konstruktoren

TimeSpanDelta()

Initializes a new instance of the TimeSpanDelta class.

TimeSpanDelta(TimeSpan, TimeSpan)

Initializes a new instance of the TimeSpanDelta class.

minorDelta
The minor delta.
majorDelta
The major delta.

Eigenschaften

MajorDelta : TimeSpan

Gets or sets the major delta.

MinorDelta : TimeSpan

Gets or sets the minor delta.

Methoden

Clone() : object

Clones this instance.

Equals(object) : bool

Determines whether the specified Object is equal to this instance.

obj
The Object to compare with the current Object.

Rückgabe: true if the specified Object is equal to this instance; otherwise, false.

Equals(TimeSpanDelta) : bool

Indicates whether the current object is equal to another object of the same type.

other
An object to compare with this object.

Rückgabe: true if the current object is equal to the parameter; otherwise, false.

GetHashCode() : int

Returns a hash code for this instance.

Rückgabe: A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

op_Equality(TimeSpanDelta, TimeSpanDelta) : bool

Implements the operator ==.

left
The left.
right
The right.

Rückgabe: The result of the operator.

op_Inequality(TimeSpanDelta, TimeSpanDelta) : bool

Implements the operator !=.

left
The left.
right
The right.

Rückgabe: The result of the operator.

ToString() : string

Returns a String that represents this instance.

Rückgabe: A String that represents this instance.