13 lines
238 B
C#
13 lines
238 B
C#
using System;
|
|
|
|
namespace DanieleMarotta.RiversongCodeShowcase
|
|
{
|
|
public interface ISignalBus
|
|
{
|
|
void Raise<T>(T signal);
|
|
|
|
void Subscribe<T>(Action<T> handler);
|
|
|
|
void Unsubscribe<T>(Action<T> handler);
|
|
}
|
|
} |