Class:ServiceProvider

From OpenBlox
Jump to: navigation, search
This page contains changes which are not marked for translation.

Other languages:
English • ‎français
ServiceProvider
abstract
Subclasses
Inheritance
Instance

This class provides methods for objects (like the DataModel) that provide access to services.

Methods

Instance FindService(string className)

This method will search for a service with the given class name in the children of the service provider, and will return such a service if it finds it, and nil otherwise.

Instance GetService(string className)

This method searches for a service like FindService, but will create it if it does not exist yet.