Source/NFX/Glue/Bindings.cs
/// <summary>
/// Conditionally dumps message to disk where the data is lazily obtained by calling dataFun
/// </summary>
Conditionally dumps message to disk where the data is lazily obtained by calling dataFun
Conditionally dumps message to disk where the data is lazily obtained by calling dataFun
protected internal void DumpMsg(bool server, Msg msg, Func<ArraySegment<byte>> dataFun)
            {
              if (!shouldDumpMsg(server)) return;
              ArraySegment<byte> data = dataFun();
              internalDumpMsg(server, msg, EncodingFormat, data);
            }
protected internal void DumpMsg ( bool server , Msg msg , Func < ArraySegment < byte > > dataFun ) { if ( ! shouldDumpMsg ( server ) ) return ; ArraySegment < byte > data = dataFun ( ) ; internalDumpMsg ( server , msg , EncodingFormat , data ) ; }
Conditionally dumps message to disk where the data is lazily obtained by calling dataFun
Conditionally dumps message to disk where the data is lazily obtained by calling dataFun
server
bool
msg
Msg
dataFun
Func<ArraySegment<byte>>