C# Класс Appccelerate.EventBroker.Matchers.NotAlreadyCanceled

Subscription matcher that matches only if the event arguments are CancelEventArgs and the event arguments are not yet canceled.
Наследование: ISubscriptionMatcher
Показать файл Открыть проект

Открытые методы

Метод Описание
DescribeTo ( TextWriter writer ) : void

Describes this subscription 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.

Matches if the event arguments are CancelEventArgs that are not yet canceled.

Описание методов

DescribeTo() публичный Метод

Describes this subscription matcher.
public DescribeTo ( TextWriter writer ) : void
writer System.IO.TextWriter 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.

Matches if the event arguments are CancelEventArgs that are not yet canceled.

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