Table of Contents

Class Simulation

Namespace
NominalSystems
Assembly
NominalSystems.Core.dll

Represents a imitative collection of real-world objects that can evolve over time.


public sealed class Simulation : IDisposable
Inheritance
Simulation
Implements

Methods

Dispose()

public void Dispose()

FindObject(Func<Object, bool>)

Returns the first 'NominalSystems.Object' that satisfies the specified conditional test.

[Hidden]
public Object? FindObject(Func<Object, bool> predicate)

Parameters

predicate Func<Object, bool>

A function to test each instance.

Returns

Object

FindObject(Guid)

Returns the first 'NominalSystems.Object' that satisfies the specified identifier.

[Hidden]
public Object? FindObject(Guid guid)

Parameters

guid Guid

The instance's unique identifier.

Returns

Object

FindObject(Type)

Returns the first 'NominalSystems.Object' that satisfies the specified type.

public Object? FindObject(Type type)

Parameters

type Type

A 'NominalSystems.Object' type.

Returns

Object

FindObject<T>()

Returns the first 'NominalSystems.Object' that satisfies the specified type.

[Hidden]
public T? FindObject<T>() where T : Object

Returns

T

Type Parameters

T

FindObject<T>(Func<T, bool>)

Returns the first 'NominalSystems.Object' that satisfies the specified conditional test.

[Hidden]
public T? FindObject<T>(Func<T, bool> predicate) where T : Object

Parameters

predicate Func<T, bool>

A function to test each instance.

Returns

T

Type Parameters

T

FindObject<T>(Guid)

Returns the first 'NominalSystems.Object' that satisfies the specified identifier.

[Hidden]
public T? FindObject<T>(Guid guid) where T : Object

Parameters

guid Guid

The instance's unique identifier.

Returns

T

Type Parameters

T

FindObjects(Func<Object, bool>)

Returns a 'NominalSystems.Object' enumerable that satisfies the specified conditional test.

[Hidden]
public Object[] FindObjects(Func<Object, bool> predicate)

Parameters

predicate Func<Object, bool>

A function to test each instance.

Returns

Object[]

FindObjects(Type)

Returns a 'NominalSystems.Object' enumerable that satisfies the specified type.

public Object[] FindObjects(Type type)

Parameters

type Type

A 'NominalSystems.Object' type.

Returns

Object[]

FindObjects<T>()

Returns a 'NominalSystems.Object' enumerable that satisfies the specified type.

[Hidden]
public T[] FindObjects<T>() where T : Object

Returns

T[]

Type Parameters

T

FindObjects<T>(Func<T, bool>)

Returns a 'NominalSystems.Object' enumerable that satisfies the specified conditional test.

[Hidden]
public T[] FindObjects<T>(Func<T, bool> predicate) where T : Object

Parameters

predicate Func<T, bool>

A function to test each instance.

Returns

T[]

Type Parameters

T

TickNanoseconds(ulong)

Ticks the simulation by the desired amount of nanoseconds.

public void TickNanoseconds(ulong amount)

Parameters

amount ulong

A amount of time in nanoseconds.

TickSeconds(double)

Ticks the simulation by the desired amount of seconds.

public void TickSeconds(double amount)

Parameters

amount double

A amount of time in seconds.