C# Class MassTransit.Context.SendEndpointConverterCache

Caches the converters that allow a raw object to be published using the object's type through the generic Send method.
Afficher le fichier Open project: MassTransit/MassTransit Class Usage Examples

Méthodes publiques

Méthode Description
Send ( ISendEndpoint endpoint, object message, Type messageType, CancellationToken cancellationToken = default(CancellationToken) ) : Task
Send ( ISendEndpoint endpoint, object message, Type messageType, IPipe pipe, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Private Methods

Méthode Description
CreateConverter ( Type type ) : ISendEndpointConverter
CreateTypeConverter ( Type type ) : Lazy
this ( Type type ) : ISendEndpointConverter

Method Details

Send() public static méthode

public static Send ( ISendEndpoint endpoint, object message, Type messageType, CancellationToken cancellationToken = default(CancellationToken) ) : Task
endpoint ISendEndpoint
message object
messageType System.Type
cancellationToken System.Threading.CancellationToken
Résultat Task

Send() public static méthode

public static Send ( ISendEndpoint endpoint, object message, Type messageType, IPipe pipe, CancellationToken cancellationToken = default(CancellationToken) ) : Task
endpoint ISendEndpoint
message object
messageType System.Type
pipe IPipe
cancellationToken System.Threading.CancellationToken
Résultat Task