toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-core
/
me.ahoo.wow.ioc
/
SimpleServiceProvider
Simple
Service
Provider
class
SimpleServiceProvider
:
ServiceProvider
Members
Members & Extensions
Constructors
Simple
Service
Provider
Link copied to clipboard
constructor
(
)
Functions
copy
Link copied to clipboard
fun
copy
(
)
:
SimpleServiceProvider
get
Required
Service
Link copied to clipboard
open
fun
<
S
:
Any
>
getRequiredService
(
serviceType
:
Class
<
S
>
)
:
S
open
fun
<
S
:
Any
>
getRequiredService
(
serviceName
:
String
)
:
S
get
Required
Service
Link copied to clipboard
inline
fun
<
S
:
Any
>
ServiceProvider
.
getRequiredService
(
)
:
S
get
Service
Link copied to clipboard
open
override
fun
<
S
:
Any
>
getService
(
serviceType
:
Class
<
S
>
)
:
S
?
open
override
fun
<
S
:
Any
>
getService
(
serviceName
:
String
)
:
S
?
get
Service
Link copied to clipboard
inline
fun
<
S
:
Any
>
ServiceProvider
.
getService
(
)
:
S
?
register
Link copied to clipboard
open
fun
<
S
:
Any
>
register
(
service
:
S
)
open
override
fun
<
S
:
Any
>
register
(
serviceType
:
Class
<
S
>
,
service
:
S
)
open
override
fun
<
S
:
Any
>
register
(
serviceName
:
String
,
service
:
S
)