Tesla Graphics Engine Documentation (January 2012)
AddService Method (type, provider)
TeslaTesla.CoreEngineServiceProvidersAddService(Type, Object)
Adds a new service to the provider collection.
Declaration Syntax
C#
public void AddService(
	Type type,
	Object provider
)
Parameters
type (Type)
Type of the service
provider (Object)
Provider object
Exceptions
Exception Condition
ArgumentNullException Type or Provider is null
ArgumentException Provider not assignable to type

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)