[This is preliminary documentation and is subject to change.]
Add a matching pattern to the collection
Namespace: NFX.ErlangAssembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
public int Add<TContext>(
TContext context,
string pattern,
PatternMatchFunc<TContext> func
)
public int Add<TContext>(
TContext context,
string pattern,
PatternMatchFunc<TContext> func
)
Public Function Add(Of TContext) (
context As TContext,
pattern As String,
func As PatternMatchFunc(Of TContext)
) As Integer
Public Function Add(Of TContext) (
context As TContext,
pattern As String,
func As PatternMatchFunc(Of TContext)
) As Integer
public:
generic<typename TContext>
int Add(
TContext context,
String^ pattern,
PatternMatchFunc<TContext>^ func
)
public:
generic<typename TContext>
int Add(
TContext context,
String^ pattern,
PatternMatchFunc<TContext>^ func
)
member Add :
context : 'TContext *
pattern : string *
func : PatternMatchFunc<'TContext> -> int
member Add :
context : 'TContext *
pattern : string *
func : PatternMatchFunc<'TContext> -> int
- TContext
- Type of context passed to func
Return Value
Type:
Int32ID of the newly added pattern