C# 클래스 Appccelerate.MappingEventBroker.Conventions.FuncTopicConvention

This topic convention implementation allows to use lambda expressions for dynamic topic convention.
상속: ITopicConvention
파일 보기 프로젝트 열기: appccelerate/appccelerate

공개 메소드들

메소드 설명
FuncTopicConvention ( bool>.Func candidateSelector, string>.Func topicMapper ) : System

Initializes a new instance of the FuncTopicConvention class.

FuncTopicConvention ( string>.Func topicMapper ) : System

Initializes a new instance of the FuncTopicConvention class.

IsCandidate ( IEventTopicInfo eventTopic ) : bool

Determines whether the specified event topic is a candidate to process.

The mapped side must also be included!

MapTopic ( string topic ) : string

Maps the topic from the source format to the destination format.

메소드 상세

FuncTopicConvention() 공개 메소드

Initializes a new instance of the FuncTopicConvention class.
public FuncTopicConvention ( bool>.Func candidateSelector, string>.Func topicMapper ) : System
candidateSelector bool>.Func The candidate selector.
topicMapper string>.Func The topic mapper.
리턴 System

FuncTopicConvention() 공개 메소드

Initializes a new instance of the FuncTopicConvention class.
public FuncTopicConvention ( string>.Func topicMapper ) : System
topicMapper string>.Func The topic mapper.
리턴 System

IsCandidate() 공개 메소드

Determines whether the specified event topic is a candidate to process.
The mapped side must also be included!
public IsCandidate ( IEventTopicInfo eventTopic ) : bool
eventTopic IEventTopicInfo The event topic.
리턴 bool

MapTopic() 공개 메소드

Maps the topic from the source format to the destination format.
public MapTopic ( string topic ) : string
topic string The source topic URI.
리턴 string