Click or drag to resize

PubSubHelpersTopicReplaced Method

Transforms the Topic to a wildcard string to be used in RegEx comparison

Namespace:  Crosser.Common.Utilities.PubSub
Assembly:  Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax
C#
public static string TopicReplaced(
	this SubObject obj
)

Parameters

obj
Type: Crosser.Common.Server.PubSubSubObject
the SubObject to get a regex string for

Return Value

Type: String
a string with wild cards replaces into regex

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SubObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also