Int32AxisDelta

StockSharp.Xaml.Charting

Defines an Int32 Delta, which provides Major and Minor deltas as used in NumericAxis

Implements: IAxisDelta<int>, IAxisDelta, ICloneable, IEquatable<Int32AxisDelta>

Constructors

Int32AxisDelta
public Int32AxisDelta()
int32AxisDelta = Int32AxisDelta()

Initializes a new instance of the Int32AxisDelta class.

Int32AxisDelta
public Int32AxisDelta(int minorDelta, int majorDelta)
int32AxisDelta = Int32AxisDelta(minorDelta, majorDelta)

Initializes a new instance of the Int32AxisDelta class.

minorDelta
The minor delta.
majorDelta
The major delta.

Properties

MajorDelta
public int MajorDelta { get; set; }
value = int32AxisDelta.MajorDelta
int32AxisDelta.MajorDelta = value

Gets or sets the major delta.

MinorDelta
public int MinorDelta { get; set; }
value = int32AxisDelta.MinorDelta
int32AxisDelta.MinorDelta = value

Gets or sets the minor delta.

Methods

Clone
public object Clone()
result = int32AxisDelta.Clone()

Clones this instance.

Equals
public override bool Equals(object obj)
result = int32AxisDelta.Equals(obj)

Determines whether the specified Object is equal to this instance.

obj
The Object to compare with the current Object.

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

Equals
public bool Equals(Int32AxisDelta other)
result = int32AxisDelta.Equals(other)

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

other
An object to compare with this object.

Returns: true if the current object is equal to the parameter; otherwise, false.

GetHashCode
public override int GetHashCode()
result = int32AxisDelta.GetHashCode()

Returns a hash code for this instance.

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

op_Equality
public static bool op_Equality(Int32AxisDelta left, Int32AxisDelta right)
result = Int32AxisDelta.op_Equality(left, right)

Implements the operator ==.

left
The left.
right
The right.

Returns: The result of the operator.

op_Inequality
public static bool op_Inequality(Int32AxisDelta left, Int32AxisDelta right)
result = Int32AxisDelta.op_Inequality(left, right)

Implements the operator !=.

left
The left.
right
The right.

Returns: The result of the operator.

ToString
public override string ToString()
result = int32AxisDelta.ToString()

Returns a String that represents this instance.

Returns: A String that represents this instance.