Table of Contents

Class Extensions

Namespace
NominalSystems
Assembly
NominalSystems.Core.dll

Represents a collection of supported extension functions by the "Core" library.


public static class Extensions
Inheritance
Extensions

Methods

GetSystem(Simulation, Type)

Gets a exisiting simulation system with the specified type.

public static Simulation.System GetSystem(this Simulation src, Type type)

Parameters

src Simulation
type Type

Returns

Simulation.System

Exceptions

ArgumentNullException

GetSystem<T>(Simulation)

Gets a exisiting simulation system with the specified type.

public static T GetSystem<T>(this Simulation src) where T : Simulation.System

Parameters

src Simulation

Returns

T

Type Parameters

T

Exceptions

ArgumentNullException

Tick(Simulation, double)

Ticks the simulation by propagating all systems forward in time.

public static void Tick(this Simulation src, double seconds)

Parameters

src Simulation
seconds double