Table of Contents

Class HorizontalPullTarget

Namespace
Nalu.MagnetLayout
Assembly
Nalu.Maui.Layouts.dll

Represents a horizontal traction target in a magnet layout.

public record HorizontalPullTarget : IEquatable<HorizontalPullTarget>
Inheritance
HorizontalPullTarget
Implements
Inherited Members
Extension Methods

Constructors

HorizontalPullTarget(string, HorizontalPoles, Traction)

Represents a horizontal traction target in a magnet layout.

public HorizontalPullTarget(string Id, HorizontalPoles Pole, Traction Traction = Traction.Default)

Parameters

Id string

The magnet element identifier.

Pole HorizontalPoles

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 HorizontalPoles Pole { get; init; }

Property Value

HorizontalPoles

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 HorizontalPullTarget(string)

Implicitly converts a string representation (e.g., "elementId.PoleName") into a HorizontalPullTarget.

public static implicit operator HorizontalPullTarget(string inputString)

Parameters

inputString string

Returns

HorizontalPullTarget