mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 16:27:44 +01:00
Return the resulting service, not the Task
This commit is contained in:
parent
46dee9a483
commit
9001c96986
2 changed files with 3 additions and 3 deletions
|
|
@ -58,9 +58,9 @@ internal class ServiceScopeImpl : IServiceScope
|
|||
public ServiceScopeImpl(ServiceContainer container) => this.container = container;
|
||||
|
||||
/// <inheritdoc/>
|
||||
object? IServiceProvider.GetService(Type serviceType)
|
||||
public object? GetService(Type serviceType)
|
||||
{
|
||||
return ((IServiceProvider)this.container).GetService(serviceType);
|
||||
return this.container.GetService(serviceType);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue