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
Valuestring
Properties
Value
Gets the string value of the feedback ID.
public string Value { get; }
Property Value
Methods
FromString(string)
Creates a FeedbackId from a string.
public static FeedbackId FromString(string value)
Parameters
valuestring
Returns
ToString()
Returns the string representation of the feedback ID.
public override string ToString()
Returns
Operators
implicit operator string(FeedbackId)
Implicit conversion from FeedbackId to string.
public static implicit operator string(FeedbackId id)
Parameters
idFeedbackId
Returns
implicit operator FeedbackId(string)
Implicit conversion from string to FeedbackId.
public static implicit operator FeedbackId(string value)
Parameters
valuestring