Class ModelKey
Represents the unique identifier of an instance of an event source.
public record ModelKey : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<ModelKey>
- Inheritance
-
ModelKey
- Implements
- Inherited Members
Constructors
ModelKey(string)
Represents the unique identifier of an instance of an event source.
public ModelKey(string Value)
Parameters
Value
stringActual value.
Fields
Unspecified
Gets the representation of an unspecified ModelKey.
public static readonly ModelKey Unspecified
Field Value
Properties
IsSpecified
Check whether or not the ModelKey is specified.
public bool IsSpecified { get; }
Property Value
Operators
implicit operator ModelKey(EventSourceId)
Implicitly convert from EventSourceId to ModelKey.
public static implicit operator ModelKey(EventSourceId id)
Parameters
id
EventSourceIdEventSourceId to convert from.
Returns
implicit operator EventSourceId(ModelKey)
Implicitly convert from ModelKey to EventSourceId.
public static implicit operator EventSourceId(ModelKey id)
Parameters
Returns
- EventSourceId
A converted EventSourceId.
implicit operator ModelKey(Guid)
public static implicit operator ModelKey(Guid id)
Parameters
Returns
implicit operator ModelKey(string)
public static implicit operator ModelKey(string id)