|
DataSource.NET
8.0.13.562038-b0f3b66e
|
![]() |
The prefix namespace matches the initial part of a subject name. More...
Public Member Functions | |
| bool | Match (string subject) |
| Tests an string to see if it falls within (matches) this INamespace. More... | |
| PrefixNamespace (string prefix) | |
| Initializes a new instance of the PrefixNamespace class. More... | |
| override string | ToString () |
| Returns a System.String that represents this instance. More... | |
The prefix namespace matches the initial part of a subject name.
A prefix namespace matches a subject according to the start of the subject name. For example, if the prefix defined for the namespace is is /I/ and the subject presented is /I/VOD.L the Match method will return true. Should the presented subject be /R/VOD.L the Match method will return false.
|
inline |
Initializes a new instance of the PrefixNamespace class.
| prefix | The prefix to be matched. For example "/FX". |
|
inline |
Tests an string to see if it falls within (matches) this INamespace.
| subject | The string to be tested. |
Implements Caplin.DataSource.Namespace.INamespace.
|
inline |
Returns a System.String that represents this instance.