Class VerticalPullTarget
- Namespace
- Nalu.MagnetLayout
- Assembly
- Nalu.Maui.Layouts.dll
Represents a vertical traction target in a magnet layout.
public record VerticalPullTarget : IEquatable<VerticalPullTarget>
- Inheritance
-
VerticalPullTarget
- Implements
- Inherited Members
- Extension Methods
Constructors
VerticalPullTarget(string, VerticalPoles, Traction)
Represents a vertical traction target in a magnet layout.
public VerticalPullTarget(string Id, VerticalPoles Pole, Traction Traction = Traction.Default)
Parameters
IdstringThe magnet element identifier.
PoleVerticalPolesThe traction pole.
TractionTractionThe traction level.
Properties
Id
The magnet element identifier.
public string Id { get; init; }
Property Value
Pole
The traction pole.
public VerticalPoles Pole { get; init; }
Property Value
Traction
The traction level.
public Traction Traction { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator VerticalPullTarget(string)
Implicitly converts a string representation (e.g., "elementId.PoleName") into a VerticalPullTarget.
public static implicit operator VerticalPullTarget(string inputString)
Parameters
inputStringstring