/// <summary>
 /// Determines whether the specified event type is filtered. By default this checks against
 /// the list of MessageTypes (if specified) but can be overriden for additional tests.
 /// </summary>
 /// <param name="eventType">Type of the event.</param>
 /// <param name="value">The event value string.</param>
 /// <returns>[True] if the message should be processed.</returns>
 protected virtual bool IsWanted(string eventType, string value)
 {
     return(MessageTypes == null || MessageTypes.Contains(eventType));
 }
示例#2
0
 internal bool IsProjecting(Type messageType)
 {
     return(MessageTypes.Contains(messageType));
 }