Here are the examples of the csharp api System.Action.Invoke(WriteContext) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : TestSink.cs
with Apache License 2.0
from alefranz
with Apache License 2.0
from alefranz
public void Write(WriteContext context)
{
if (WriteEnabled == null || WriteEnabled(context))
{
_writes.Enqueue(context);
}
MessageLogged?.Invoke(context);
}