C# Class Rebus.Sagas.SagaHelper

Helper class that can cache configured sets of correlation properties for various saga types
Afficher le fichier Open project: rebus-org/Rebus

Méthodes publiques

Méthode Description
CreateNewSagaData ( Saga saga ) : ISagaData

Creates a new instance of the saga's saga data

GetCorrelationProperties ( object message, Saga saga ) : SagaDataCorrelationProperties

Gets (most likely from a cache) the set of correlation properties relevant for the given saga handler.

Private Methods

Méthode Description
GetCorrelationProperties ( Saga saga ) : CorrelationProperty[]>.Dictionary

Method Details

CreateNewSagaData() public méthode

Creates a new instance of the saga's saga data
public CreateNewSagaData ( Saga saga ) : ISagaData
saga Saga
Résultat ISagaData

GetCorrelationProperties() public méthode

Gets (most likely from a cache) the set of correlation properties relevant for the given saga handler.
public GetCorrelationProperties ( object message, Saga saga ) : SagaDataCorrelationProperties
message object
saga Saga
Résultat SagaDataCorrelationProperties