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