C# Class Rebus.Sagas.CorrelationProperty

Represents a mapping from a field of an incoming message of a specific type to a specific property on a specific type of saga data
Inheritance: ISagaCorrelationProperty
Afficher le fichier Open project: rebus-org/Rebus Class Usage Examples

Méthodes publiques

Méthode Description
CorrelationProperty ( Type messageType, object>.Func valueFromMessage, Type sagaDataType, string propertyName, Type sagaType ) : System

Constructs the correlation property

Private Methods

Méthode Description
Validate ( ) : void

Method Details

CorrelationProperty() public méthode

Constructs the correlation property
public CorrelationProperty ( Type messageType, object>.Func valueFromMessage, Type sagaDataType, string propertyName, Type sagaType ) : System
messageType System.Type Specifies the message type that this property can correlate
valueFromMessage object>.Func Specifies the function that will be called with the message instance in order to extract a value that should be used for correlation
sagaDataType System.Type Specifies the type of saga data that this property can correlate to
propertyName string Specifies that property name on the saga data that this correlation addresses
sagaType System.Type Specifies the saga type (i.e. the handler type) that contains the logic of the saga
Résultat System