Table of Contents

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

Id string

The magnet element identifier.

Pole VerticalPoles

The traction pole.

Traction Traction

The traction level.

Properties

Id

The magnet element identifier.

public string Id { get; init; }

Property Value

string

Pole

The traction pole.

public VerticalPoles Pole { get; init; }

Property Value

VerticalPoles

Traction

The traction level.

public Traction Traction { get; init; }

Property Value

Traction

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

inputString string

Returns

VerticalPullTarget