Class ServiceFactory

Class ServiceFactory#

Class Documentation#

class xbe.sdk.ServiceFactory#

The ServiceFactory is responsible for managing instances of all Service classes used to perform operations on a given data model type.

Public Functions

ServiceFactory (IAPIClient apiClient, Configuration config)#
T GetService<T> ()#

Retrieves the Service class instance of the desired type.

Tparam T:

The type of Service class to retrieve an instance of.

Return:

The instance of the desired Service class.