C# 클래스 Appccelerate.EventBroker.Matchers.Scope.PublishToChildren

Matcher for publications to children only.
상속: IPublicationMatcher
파일 보기 프로젝트 열기: appccelerate/appccelerate

공개 메소드들

메소드 설명
DescribeTo ( System writer ) : void

Describes this scope matcher.

Match ( IPublication publication, ISubscription subscription, EventArgs e ) : bool

Returns whether the publication and subscription match and the event published by the publisher will be relayed to the subscriber.

This is the case if the name of the publisher is a prefix to the name of the subscriber.

메소드 상세

DescribeTo() 공개 메소드

Describes this scope matcher.
public DescribeTo ( System writer ) : void
writer System The writer the description is written to.
리턴 void

Match() 공개 메소드

Returns whether the publication and subscription match and the event published by the publisher will be relayed to the subscriber.

This is the case if the name of the publisher is a prefix to the name of the subscriber.

public Match ( IPublication publication, ISubscription subscription, EventArgs e ) : bool
publication IPublication The publication.
subscription ISubscription The subscription.
e System.EventArgs The instance containing the event data.
리턴 bool