Table of Contents

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

string

Type

The entity type.

[JsonPropertyName("type")]
public required string Type { get; init; }

Property Value

string

Methods

Create(string, string)

Creates an EntityUid from the given type and ID.

public static EntityUid Create(string type, string id)

Parameters

type string

The entity type.

id string

The entity ID.

Returns

EntityUid

The entity UID.