ProviderService

Service that provides T. Should be used if some service needs arguments for initialization.

Inherited properties

Link copied to clipboard
open val id: String

Returns the ID of the service. It should match regex [a-z0-9._-].

Link copied to clipboard
open val isEnabled: Boolean

Returns true if the service is initialized may be used. Default implementation always returns true.

Functions

Link copied to clipboard
abstract fun get(arg: Any): T

Creates new T initialized with arg.