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

Matcher for publications to parents 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 subscriber is a prefix to the name of the publisher.

메소드 상세

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 subscriber is a prefix to the name of the publisher.

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