Class ParserDelegate<TOutput>
Delegate type for parsers.
Inheritance
System.Object
ParserDelegate<TOutput>
Namespace: Cesil
Assembly: Cesil.dll
Syntax
public sealed class ParserDelegate<TOutput> : MulticastDelegate
Type Parameters
Constructors
ParserDelegate(Object, IntPtr)
Declaration
public ParserDelegate(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(ReadOnlySpan<Char>, ReadContext, out TOutput, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(ReadOnlySpan<char> data, in ReadContext context, out TOutput result, AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
data |
|
ReadContext |
context |
|
TOutput |
result |
|
System.AsyncCallback |
callback |
|
System.Object |
object |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndInvoke(ReadContext, out TOutput, IAsyncResult)
Declaration
public virtual bool EndInvoke(in ReadContext context, out TOutput result, IAsyncResult __result)
Parameters
Type |
Name |
Description |
ReadContext |
context |
|
TOutput |
result |
|
System.IAsyncResult |
__result |
|
Returns
Type |
Description |
System.Boolean |
|
Invoke(ReadOnlySpan<Char>, ReadContext, out TOutput)
Declaration
public virtual bool Invoke(ReadOnlySpan<char> data, in ReadContext context, out TOutput result)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
data |
|
ReadContext |
context |
|
TOutput |
result |
|
Returns
Type |
Description |
System.Boolean |
|