EventAggregator
๊ฐ์
๊ตฌ์กฐ ์์๋ณด๊ธฐ
public interface IEventAggregator;
public interface IApplicationEvent;
public class EventAggregator : IEventAggregator;public interface IEventAggregator
{
void Subscribe<T>(Action<T> action) where T : IApplicationEvent;
void Unsubscribe<T>(Action<T> action) where T : IApplicationEvent;
void Publish<T>(T message) where T : IApplicationEvent;
}์ด๋ฒคํธ ๊ตฌ๋
์ด๋ฒคํธ ์ ๋ฌํ๊ธฐ
Last updated