GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(infra): created basic ServiceLocator class
Lars4b9784696047
diff --git a/LarsWM.Infrastructure/DependencyInjection.cs b/LarsWM.Infrastructure/DependencyInjection.csindex 9e414407..ff4a3f17 100644--- a/LarsWM.Infrastructure/DependencyInjection.cs+++ b/LarsWM.Infrastructure/DependencyInjection.cs@@ -10,7 +10,6 @@ namespace LarsWM.Infrastructureservices.AddSingleton<IBus, Bus>();// TODO: Change WindowsApiFacade & WindowsApiService to be compatible with DI.- // TODO: Add service locator to infrastructure layer.return services;}diff --git a/LarsWM.Infrastructure/ServiceLocator.cs b/LarsWM.Infrastructure/ServiceLocator.csnew file mode 100644index 00000000..b010d3b0--- /dev/null+++ b/LarsWM.Infrastructure/ServiceLocator.cs@@ -0,0 +1,11 @@+using System;+using System.Collections.Generic;+using System.Text;++namespace LarsWM.Infrastructure+{+ public class ServiceLocator+ {+ public static IServiceProvider Provider { get; set; }+ }+}