Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
372B

  1. using System;
  2. namespace Svelto.ServiceLayer.Experimental
  3. {
  4. public interface IServiceEventContainer : IDisposable
  5. {
  6. //Delegate constraints to store delegates without needing a signature
  7. void ListenTo<TListener, TDelegate>(TDelegate callBack)
  8. where TListener : class, IServiceEventListener<TDelegate> where TDelegate : Delegate;
  9. }
  10. }