Class:ServiceProvider

From OpenBlox
Jump to: navigation, search
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.[1]

Instance GetService(string className)

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

References

  1. ServiceProvider.cpp, line 39.
  2. Ibid., line 57.