mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
SelfTestRegistryPluginScoped should inherit from IDalamudService
This commit is contained in:
parent
f831a7c010
commit
28941cb69e
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||||
using Dalamud.IoC;
|
using Dalamud.IoC;
|
||||||
using Dalamud.IoC.Internal;
|
using Dalamud.IoC.Internal;
|
||||||
using Dalamud.Plugin.Internal.Types;
|
using Dalamud.Plugin.Internal.Types;
|
||||||
|
using Dalamud.Plugin.Services;
|
||||||
|
|
||||||
namespace Dalamud.Plugin.SelfTest.Internal;
|
namespace Dalamud.Plugin.SelfTest.Internal;
|
||||||
|
|
||||||
|
|
@ -12,7 +13,7 @@ namespace Dalamud.Plugin.SelfTest.Internal;
|
||||||
[PluginInterface]
|
[PluginInterface]
|
||||||
[ServiceManager.ScopedService]
|
[ServiceManager.ScopedService]
|
||||||
[ResolveVia<ISelfTestRegistry>]
|
[ResolveVia<ISelfTestRegistry>]
|
||||||
internal class SelfTestRegistryPluginScoped : ISelfTestRegistry, IInternalDisposableService
|
internal class SelfTestRegistryPluginScoped : ISelfTestRegistry, IInternalDisposableService, IDalamudService
|
||||||
{
|
{
|
||||||
[ServiceManager.ServiceDependency]
|
[ServiceManager.ServiceDependency]
|
||||||
private readonly SelfTestRegistry selfTestRegistry = Service<SelfTestRegistry>.Get();
|
private readonly SelfTestRegistry selfTestRegistry = Service<SelfTestRegistry>.Get();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue