Interface ITopicSelectors
- Namespace
- PushTechnology.ClientInterface.Client.Topics
- Assembly
- Diffusion.Client.dll
Converts strings to topic selectors.
[Obsolete("Topic selectors are now deprecated and will be removed in a future release. Use string expressions instead.", false)]
public interface ITopicSelectors
Remarks
Caution
Deprecated since 6.4.
Topic selectors are no longer verified locally by the client library.
Instead System.String expressions will be sent to (and verified by) the Diffusion server.
This interface will be removed in a future release.
Added in 5.0.
Methods
AnyOf(params ITopicSelector[])
Creates a SELECTOR_SET selector that matches if any of the provided selectors match.
Unlike AnyOf( string... ), this method allows topic ids to be combined.
ITopicSelector AnyOf(params ITopicSelector[] selectors)
Parameters
selectorsITopicSelector[]The selectors.
Returns
- ITopicSelector
A selector which matches if any of the selectors do.
AnyOf(params string[])
Convenient wrapper of AnyOf( ITopicSelector... ) that first parses the supplied expressions to create selectors.
ITopicSelector AnyOf(params string[] expressions)
Parameters
expressionsstring[]The expressions.
Returns
- ITopicSelector
A selector which matches any of the expressions.
Parse(string)
Parses an expression to create a selector.
ITopicSelector Parse(string expression)
Parameters
expressionstringThe pattern expression.
Returns
- ITopicSelector
The topic selector.