Ensures that ILuaCsHook will resolve to the existing event service instance.

This commit is contained in:
MapleWheels
2026-01-28 20:33:32 -05:00
committed by Maplewheels
parent 6619def365
commit 92232d114b
3 changed files with 23 additions and 2 deletions
@@ -37,7 +37,14 @@ public interface IServicesProvider
/// Args[1]: Implementing type
/// </summary>
event System.Action<Type, Type> OnServiceRegistered;
/// <summary>
/// Registers a factory for resolving the service type.
/// </summary>
/// <param name="factory"></param>
/// <typeparam name="TSvcInterface"></typeparam>
void RegisterServiceResolver<TSvcInterface>(Func<ServiceContainer, TSvcInterface> factory) where TSvcInterface : class, IService;
/// <summary>
/// Runs compilation of registered services.
/// </summary>