Sage Modeling and Simulation Library

IModel..::..AddService<(Of <(<'T>)>)> Method

Adds the specified service with the provided name.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


void AddService<T>(
	T service,
	string name
)
where T : IModelService

Type Parameters

T
The type of service we are adding.

Parameters

service
Type: T
The service.
name
Type: String
The name.