Table of Contents

Class Object

Namespace
NominalSystems
Assembly
NominalSystems.Core.dll

Represents the base class for all simulation objects.


public abstract class Object
Inheritance
Object
Derived

Constructors

Object()

protected Object()

Properties

ID

The object's unique identifier.

public Guid ID { get; }

Property Value

Guid

Methods

GetHashCode()

public override int GetHashCode()

Returns

int

GetMetadata()

Returns a deep copy of the JSON metadata

public JObject GetMetadata()

Returns

JObject

GetMetadata(string)

Returns a deep copy of the JSON metadata at the specified key.

public JToken? GetMetadata(string key)

Parameters

key string

Returns

JToken

SetMetadata(JObject?)

Sets the value of the JSON metadata.

public void SetMetadata(JObject? value)

Parameters

value JObject

SetMetadata(string, JToken?)

Sets the value of the JSON metadata at the specified key.

public void SetMetadata(string key, JToken? value)

Parameters

key string
value JToken