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

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

WireEnds

#
public WireEnds(
reader
)

Fields

Empty

#
public static readonly WireEnds Empty

Properties

Source

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

Target

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

Methods

CompareTo

#
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.
public int CompareTo(
other
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

#
Indicates whether this instance and a specified object are equal.
public override bool Equals(
obj
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

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

GetHashCode

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

IStorable.Store

#
void IStorable.Store(
writer
)
Store

ToString

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