C# Класс 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
Наследование: ISagaCorrelationProperty
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CorrelationProperty ( Type messageType, object>.Func valueFromMessage, Type sagaDataType, string propertyName, Type sagaType ) : System

Constructs the correlation property

Приватные методы

Метод Описание
Validate ( ) : void

Описание методов

CorrelationProperty() публичный Метод

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
Результат System