public void Send(object @event)
{
if (Utilities.IsAnonymousType(@event.GetType())) {
throw new InvalidOperationException(
"Anonymous types are not supported. Use Send(string, object) instead.");
}
string type = @event.GetType().Name;
Send(type, @event);
}
#endregion