interface documentation

class IServiceCollection(Interface): (source)

View In Hierarchy

An object which provides access to a collection of services.
Method add​Service Add a service to this collection.
Method get​Service​Named Retrieve the named service from this application.
Method remove​Service Remove a service from this collection.
def addService(service): (source)
Add a service to this collection.
Parameters
service:objectUndocumented
def getServiceNamed(serviceName): (source)

Retrieve the named service from this application.

Raise a KeyError if there is no such service name.

Parameters
service​Name:strUndocumented
Returns
objectUndocumented
def removeService(service): (source)
Remove a service from this collection.
Parameters
service:objectUndocumented