Struct ObstacleToken
- Namespace
- GridForge
- Assembly
- GridForge.dll
Opaque process-unique identity for one obstacle registration lifetime.
public readonly struct ObstacleToken : IEquatable<ObstacleToken>
- Implements
- Inherited Members
Properties
IsValid
Indicates whether this token identifies an allocated obstacle registration.
public bool IsValid { get; }
Property Value
Methods
Equals(ObstacleToken)
public bool Equals(ObstacleToken other)
Parameters
otherObstacleToken
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
Returns the runtime token value for diagnostics.
public override string ToString()
Returns
Operators
operator ==(ObstacleToken, ObstacleToken)
Compares two obstacle registration tokens for equality.
public static bool operator ==(ObstacleToken left, ObstacleToken right)
Parameters
leftObstacleTokenrightObstacleToken
Returns
operator !=(ObstacleToken, ObstacleToken)
Compares two obstacle registration tokens for inequality.
public static bool operator !=(ObstacleToken left, ObstacleToken right)
Parameters
leftObstacleTokenrightObstacleToken