public T GetNotification <T>() { return((T)NotificationsRaised.LastOrDefault(n => n is T)); }
public Task Raise <T>(T @event) { NotificationsRaised.Add(@event); return(TaskEx.CompletedTask); }