Struct WaveId
Stable identifier for a wave within a stage.
Assembly: Serenity.Wave.Domain.dll
Syntax
public readonly struct WaveId : IEquatable<WaveId>
Constructors
WaveId(string)
Creates a new WaveId with the specified identifier.
Declaration
public WaveId(string value)
Parameters
| Type |
Name |
Description |
| string |
value |
|
Fields
Value
The unique string identifier for this wave.
Declaration
public readonly string Value
Field Value
Properties
IsValid
Checks if this WaveId has a valid, non-empty value.
Declaration
public bool IsValid { get; }
Property Value
Methods
Equals(WaveId)
Declaration
public bool Equals(WaveId other)
Parameters
| Type |
Name |
Description |
| WaveId |
other |
|
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
NewGuid()
Creates a new WaveId with an auto-generated GUID.
Declaration
public static WaveId NewGuid()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(WaveId, WaveId)
Declaration
public static bool operator ==(WaveId left, WaveId right)
Parameters
Returns
explicit operator WaveId(string)
Declaration
public static explicit operator WaveId(string value)
Parameters
| Type |
Name |
Description |
| string |
value |
|
Returns
implicit operator string(WaveId)
Declaration
public static implicit operator string(WaveId id)
Parameters
| Type |
Name |
Description |
| WaveId |
id |
|
Returns
operator !=(WaveId, WaveId)
Declaration
public static bool operator !=(WaveId left, WaveId right)
Parameters
Returns
Implements