SignalR.EventStream.Send C# (CSharp) Method

Send() public method

public Send ( object @event ) : void
@event object
return void
        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

Same methods

EventStream::Send ( string @event ) : void
EventStream::Send ( string type, object @event ) : void