Table of Contents

Struct FeedbackId

Namespace
MoonBark.GridPlacement.Core.Types
Assembly
MoonBark.GridPlacement.Core.dll

Strongly-typed identifier for feedback effects. Prevents string typos and provides compile-time type safety.

public readonly record struct FeedbackId : IEquatable<FeedbackId>
Implements
Inherited Members

Constructors

FeedbackId(string)

Strongly-typed identifier for feedback effects. Prevents string typos and provides compile-time type safety.

public FeedbackId(string Value)

Parameters

Value string

Properties

Value

Gets the string value of the feedback ID.

public string Value { get; }

Property Value

string

Methods

FromString(string)

Creates a FeedbackId from a string.

public static FeedbackId FromString(string value)

Parameters

value string

Returns

FeedbackId

ToString()

Returns the string representation of the feedback ID.

public override string ToString()

Returns

string

Operators

implicit operator string(FeedbackId)

Implicit conversion from FeedbackId to string.

public static implicit operator string(FeedbackId id)

Parameters

id FeedbackId

Returns

string

implicit operator FeedbackId(string)

Implicit conversion from string to FeedbackId.

public static implicit operator FeedbackId(string value)

Parameters

value string

Returns

FeedbackId