C# Class Appccelerate.EventBroker.Matchers.Scope.SubscribeToChildren

Matcher for subscriptions to events from children only.
Inheritance: ISubscriptionMatcher
Afficher le fichier Open project: appccelerate/appccelerate

Méthodes publiques

Méthode Description
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.

Method Details

DescribeTo() public méthode

Describes this scope matcher.
public DescribeTo ( System writer ) : void
writer System The writer the description is written to.
Résultat void

Match() public méthode

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.
Résultat bool