Resolve as service.

This commit is contained in:
Ottermandias 2023-06-13 20:55:37 +02:00
parent b99d62e450
commit 20186afa49

View file

@ -17,6 +17,7 @@ namespace Dalamud.Interface.DragDrop;
[PluginInterface] [PluginInterface]
[ServiceManager.EarlyLoadedService] [ServiceManager.EarlyLoadedService]
[InherentDependency<InterfaceManager.InterfaceManagerWithScene>] [InherentDependency<InterfaceManager.InterfaceManagerWithScene>]
[ResolveVia<IDragDropManager>]
internal partial class DragDropManager : IDisposable, IDragDropManager, IServiceType internal partial class DragDropManager : IDisposable, IDragDropManager, IServiceType
{ {
private readonly InterfaceManager interfaceManager = Service<InterfaceManager>.Get(); private readonly InterfaceManager interfaceManager = Service<InterfaceManager>.Get();