com.alicizax.unity.framework/Runtime/ABase/Service/Core/IServiceRegistry.cs

12 lines
293 B
C#

using System;
namespace AlicizaX
{
public interface IServiceRegistry
{
T Register<T>(T service, params Type[] extraContracts) where T : class, IService;
bool TryGet<T>(out T service) where T : class, IService;
T Require<T>() where T : class, IService;
}
}