WireEnds

References
[IoId("00000000-bdcf-4f27-a11e-3698185f4d44")] public struct WireEnds : IEquatable<WireEnds>, IComparable<WireEnds>, IStorable
Represents the instance ids of the parameters at either end of a wire.

Constructors

WireEnds

#
public WireEnds(Guid source, Guid target)
Create a new wire pair.
source (Guid)Source id.
target (Guid)Target id.

WireEnds

#
public WireEnds(IReader reader)
reader (IReader)

Fields

Empty

#
public static readonly WireEnds Empty

Properties

Source

#
public Guid Source { get; }
Gets the source id.

Target

#
public Guid Target { get; }
Gets the target id.

Methods

CompareTo

#
public int CompareTo(WireEnds other)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
other (WireEnds)An object to compare with this instance.
A value that indicates the relative order of the objects being compared. The return value has these meanings:
ValueMeaning
Less than zeroThis instance precedes other in the sort order.
ZeroThis instance occurs in the same position in the sort order as other.
Greater than zeroThis instance follows other in the sort order.

Equals

#
public override bool Equals(object obj)
Indicates whether this instance and a specified object are equal.
obj (object)The object to compare with the current instance.
true if obj and this instance are the same type and represent the same value; otherwise, false.
ValueType.Equals

Equals

#
public bool Equals(WireEnds other)
Indicates whether the current object is equal to another object of the same type.
other (WireEnds)An object to compare with this object.
true if the current object is equal to the other parameter; otherwise, false.

GetHashCode

#
public override int GetHashCode()
Returns the hash code for this instance.
A 32-bit signed integer that is the hash code for this instance.
Explicit

IStorable.Store

#
void IStorable.Store(IWriter writer)
writer (IWriter)
Store

ToString

#
public override string ToString()
Returns the fully qualified type name of this instance.
The fully qualified type name.