DI: Remove WindowSystemExtensions
This commit is contained in:
parent
7d04cd7575
commit
e3459a0182
@ -1,14 +0,0 @@
|
||||
using System.Linq;
|
||||
using Dalamud.Interface.Windowing;
|
||||
|
||||
namespace Pal.Client.Extensions
|
||||
{
|
||||
internal static class WindowSystemExtensions
|
||||
{
|
||||
public static T? GetWindow<T>(this WindowSystem windowSystem)
|
||||
where T : Window
|
||||
{
|
||||
return windowSystem.Windows.OfType<T>().FirstOrDefault();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user