TentativeGrip

References
public sealed class TentativeGrip : IEquatable<TentativeGrip>
Represents a place where an input or output parameter could be added in a component. Instances of this class are emitted by ComponentAttributes.

Constructors

TentativeGrip

#
public TentativeGrip(Component owner, Side side, int index, PointF point)
owner (Component)
side (Side)
index (int)
point (PointF)

Properties

Component

#
public Component Component { get; }
Gets the component this potential grip belongs to.

Index

#
public int Index { get; }
Gets the index of this potential grip.

Point

#
public PointF Point { get; }
Gets the disc for this potential grip.

Side

#
public Side Side { get; }
Gets the side of this potential grip.

Methods

CreateReal

#
public IParameter CreateReal(ActionList undo)
Turn this tentative parameter into a real one if that's still possible.
undo (ActionList)Undo action list to populate.
Parameter which was created.

Equals

#
public override bool Equals(object obj)
obj (object)
Object.Equals

Equals

#
public bool Equals(TentativeGrip other)
other (TentativeGrip)

GetHashCode

#
public override int GetHashCode()