C# Class Rebus.Sagas.SagaHelper

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

Public Methods

Method 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

Method Description
GetCorrelationProperties ( Saga saga ) : CorrelationProperty[]>.Dictionary

Method Details

CreateNewSagaData() public method

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

GetCorrelationProperties() public method

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
return SagaDataCorrelationProperties