![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
Selects a node by full name returning either the node, all nodes subordinate to it or the node AND all nodes subordinate to it. More...
Public Member Functions | |
TopicSelectorName (string selector, bool selectsAllBelow, bool selectsAllInclusive) | |
Constructor. More... | |
override bool | IsTopicNameSelector () |
Is the selector a single topic name? More... | |
override bool | Matches (string topicName) |
override SelectorType | GetType () |
Returns the type of this selector. More... | |
![]() | |
bool | IsSimpleTopicNameSelector () |
Is the selector a simple topic name selector that selects only a named topic and not its children? More... | |
bool | SelectsChildren () |
This indicates whether the selector selects the children of any selected topic also. More... | |
override string | ToString () |
Returns the string representation of this object. More... | |
Static Public Member Functions | |
static string | SelectorFullString (string selector, bool allBelow, bool inclusive) |
![]() | |
static TopicSelector | Parse (string selector) |
Parses a topic selector. More... | |
static bool | IsTopicName (string name) |
Checks if a supplied string is a valid topic name (as opposed to a topic selector). More... | |
static bool | IsValidSelector (string selector) |
Check if the supplied string is a valid topic selector. This allows for regex metachars in the string, but does not check that the regex is valid. Only regex characters or valid codepoint characters are allowed. Also, the selector cannot start with a name delimiter. More... | |
static bool | IsValidTopicNodeName (string topicName) |
Validates a topic node name to ensure that it does not contain invalid characters. More... | |
Properties | |
string | TopicName [get, set] |
Get/set the topic name. More... | |
![]() | |
int | HashCode [get, set] |
This allows for efficient equality matching of selectors. More... | |
bool | SelectsAllBelow [get, set] |
Does this topic selector select all topics beneath it? More... | |
bool | SelectsAllInclusive [get, set] |
string | SelectorString [get, set] |
string | Name [get, set] |
Additional Inherited Members | |
![]() | |
enum | SelectorType { SelectorType.ALL, SelectorType.NAME, SelectorType.PATTERN, SelectorType.PATTERNS } |
![]() | |
TopicSelector (string selectorString, bool selectsAllBelow, bool selectsAllInclusive) | |
Constructor. More... | |
![]() | |
const char | NameDelimiterChar = '/' |
Selects a node by full name returning either the node, all nodes subordinate to it or the node AND all nodes subordinate to it.
PushTechnology.DiffusionCore.Messaging.Topic.TopicSelectorName.TopicSelectorName | ( | string | selector, |
bool | selectsAllBelow, | ||
bool | selectsAllInclusive | ||
) |
Constructor.
selector | |
selectsAllBelow | |
selectsAllInclusive |
|
virtual |
Returns the type of this selector.
Implements PushTechnology.DiffusionCore.Messaging.Topic.TopicSelector.
|
virtual |
Is the selector a single topic name?
Implements PushTechnology.DiffusionCore.Messaging.Topic.TopicSelector.
|
virtual |
|
static |
selector | |
allBelow | |
inclusive |
|
getset |
Get/set the topic name.