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
Returns
FindObject(Guid)
Returns the first 'NominalSystems.Object' that satisfies the specified identifier.
[Hidden]
public Object? FindObject(Guid guid)
Parameters
guid
GuidThe instance's unique identifier.
Returns
FindObject(Type)
Returns the first 'NominalSystems.Object' that satisfies the specified type.
public Object? FindObject(Type type)
Parameters
type
TypeA 'NominalSystems.Object' type.
Returns
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
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
GuidThe 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
Returns
- Object[]
FindObjects(Type)
Returns a 'NominalSystems.Object' enumerable that satisfies the specified type.
public Object[] FindObjects(Type type)
Parameters
type
TypeA '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
Returns
- T[]
Type Parameters
T
TickNanoseconds(ulong)
Ticks the simulation by the desired amount of nanoseconds.
public void TickNanoseconds(ulong amount)
Parameters
amount
ulongA amount of time in nanoseconds.
TickSeconds(double)
Ticks the simulation by the desired amount of seconds.
public void TickSeconds(double amount)
Parameters
amount
doubleA amount of time in seconds.