Class EntityUid
- Namespace
- CedarDotNet.Models
- Assembly
- CedarDotNet.dll
An entity identifier.
public sealed record EntityUid : IEquatable<EntityUid>
- Inheritance
-
EntityUid
- Implements
- Inherited Members
Properties
Id
The entity ID.
[JsonPropertyName("id")]
public required string Id { get; init; }
Property Value
Type
The entity type.
[JsonPropertyName("type")]
public required string Type { get; init; }
Property Value
Methods
Create(string, string)
Creates an EntityUid from the given type and ID.
public static EntityUid Create(string type, string id)
Parameters
Returns
- EntityUid
The entity UID.