Ejemplo n.º 1
0
 public MessageWriter(object target, string message, WriterFuncWithTarget writer)
 {
     Target  = target;
     Message = message;
     SetWriterFunc(writer);
 }
Ejemplo n.º 2
0
 public void SetWriterFunc(WriterFuncWithTarget w)
 {
     _write = (m, t) => { w(m, t); return(true); };
 }