Class ObserverId
- Namespace
- Cratis.Chronicle.Observation
- Assembly
- Cratis.Chronicle.dll
Concept that represents the unique identifier of an observer.
public record ObserverId : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<ObserverId>
- Inheritance
-
ObserverId
- Implements
- Inherited Members
Constructors
ObserverId(string)
Concept that represents the unique identifier of an observer.
public ObserverId(string Value)
Parameters
Value
stringActual value.
Fields
Unspecified
Gets the representation of an unspecified ObserverId.
public static readonly ObserverId Unspecified
Field Value
Operators
implicit operator string(ObserverId)
Implicitly convert from ObserverId to string.
public static implicit operator string(ObserverId id)
Parameters
id
ObserverIdObserverId to convert from.
Returns
implicit operator ObserverId(string)
Implicitly convert from a string to ObserverId.
public static implicit operator ObserverId(string id)
Parameters
id
stringString to convert from.