Diffusion .NET API
5.9.24
|
Converts strings to topic selectors. More...
Inherited by PushTechnology.ClientInterface.Client.Topics.TopicSelectorsImpl.
Public Member Functions | |
ITopicSelector | Parse (string expression) |
Parse an expression to create a selector. More... | |
ITopicSelector | AnyOf (params string[] expressions) |
Convenient wrapper of AnyOf( ITopicSelector... ) that first parses the supplied expressions to create selectors. More... | |
ITopicSelector | AnyOf (params ITopicSelector[] selectors) |
Create a selector set selector that matches if any of the provided selectors match. More... | |
Converts strings to topic selectors.
Selectors are evaluated against topic paths. A topic path is a '/' separated string of parts, which map to the topic hierarchy. Each part is formed of one or more UTF characters, except '/'. Topic paths are absolute, and evaluated from the root of the current domain.
An instance of this may be obtained as follows:
var selectors = Diffusion.TopicSelectors;
ITopicSelector PushTechnology.ClientInterface.Client.Topics.ITopicSelectors.AnyOf | ( | params string[] | expressions | ) |
Convenient wrapper of AnyOf( ITopicSelector... ) that first parses the supplied expressions to create selectors.
expressions | The expressions. |
ITopicSelector PushTechnology.ClientInterface.Client.Topics.ITopicSelectors.AnyOf | ( | params ITopicSelector[] | selectors | ) |
Create a selector set selector that matches if any of the provided selectors match.
Unlike AnyOf( string... ), this method allows topic ids to be combined.
selectors | The selectors. |
ITopicSelector PushTechnology.ClientInterface.Client.Topics.ITopicSelectors.Parse | ( | string | expression | ) |
Parse an expression to create a selector.
expression | The pattern expression. |