Show / Hide Table of Contents

Struct Pair

Represents a pair (or a connection between two adjacent customers).

Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public struct Pair

Constructors

Pair(Int32, Int32)

Creates a new pair.

Declaration
public Pair(int from, int to)
Parameters
System.Int32 from

System.Int32 to

Properties

From

Returns the from customer.

Declaration
public int From { get; set; }
Property Value
System.Int32

To

Returns the to customer.

Declaration
public int To { get; set; }
Property Value
System.Int32

Methods

Equals(Object)

Returns true if the other object is equal.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Overrides
System.ValueType.Equals(System.Object)

GetHashCode()

Returns a hashcode.

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
System.ValueType.GetHashCode()

ToString()

Returns a description of this edge.

Declaration
public override string ToString()
Returns
System.String

Overrides
System.ValueType.ToString()
Back to top Built by Itinero, MIT licensed.