C# 클래스 Rebus.Pipeline.Receive.HandlerInvoker

Wrapper of the handler that is ready to invoke
파일 보기 프로젝트 열기: rebus-org/Rebus 1 사용 예제들

공개 메소드들

메소드 설명
CanBeInitiatedBy ( Type messageType ) : bool

Gets whether a message of the given type is allowed to cause a new saga data instance to be created

GetSagaData ( ) : ISagaData

Gets from the invoker the piece of saga data that has been determined to be relevant for the invocation, returning null if no such saga data has been set

Invoke ( ) : System.Threading.Tasks.Task

Method to call in order to invoke this particular handler

SetSagaData ( ISagaData sagaData ) : void

Adds to the invoker a piece of saga data that has been determined to be relevant for the invocation

SkipInvocation ( ) : void

Marks this handler as one to skip, i.e. calling this method will make the invoker ignore the call to Invoke

메소드 상세

CanBeInitiatedBy() 공개 메소드

Gets whether a message of the given type is allowed to cause a new saga data instance to be created
public CanBeInitiatedBy ( Type messageType ) : bool
messageType System.Type
리턴 bool

GetSagaData() 공개 추상적인 메소드

Gets from the invoker the piece of saga data that has been determined to be relevant for the invocation, returning null if no such saga data has been set
public abstract GetSagaData ( ) : ISagaData
리턴 ISagaData

Invoke() 공개 추상적인 메소드

Method to call in order to invoke this particular handler
public abstract Invoke ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SetSagaData() 공개 추상적인 메소드

Adds to the invoker a piece of saga data that has been determined to be relevant for the invocation
public abstract SetSagaData ( ISagaData sagaData ) : void
sagaData ISagaData
리턴 void

SkipInvocation() 공개 추상적인 메소드

Marks this handler as one to skip, i.e. calling this method will make the invoker ignore the call to Invoke
public abstract SkipInvocation ( ) : void
리턴 void