public static Publish ( IPublishEndpoint endpoint, object message, |
||
endpoint | IPublishEndpoint | |
message | object | |
messageType | ||
cancellationToken | ||
return | Task |
public virtual Task Publish(object message, IPipe <PublishContext> publishPipe, CancellationToken cancellationToken) { if (message == null) { throw new ArgumentNullException(nameof(message)); } var messageType = message.GetType(); return(PublishEndpointConverterCache.Publish(this, message, messageType, publishPipe, cancellationToken)); }
public virtual Task Publish(object message, Type messageType, IPipe <PublishContext> publishPipe, CancellationToken cancellationToken) { return(PublishEndpointConverterCache.Publish(this, message, messageType, publishPipe, cancellationToken)); }
Task IPublishEndpoint.Publish(object message, Type messageType, CancellationToken cancellationToken) { return(PublishEndpointConverterCache.Publish(this, message, messageType, cancellationToken)); }