Class:ServiceProvider

From OpenBlox
Jump to: navigation, search
This page is a translated version of the page Class:ServiceProvider and the translation is 100% complete.

Other languages:
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.