Beispiel #1
0
 string IResearchable.Dump( int level )
 {
     var wr = new OutlineWriter( level );
     wr.Line( "{0} <{1}>", IWorld.Name, typeof( World ).Name );
     wr.Append( _agent.Dump( wr.Level + 1 ) );
     return wr.ToString();
 }
Beispiel #2
0
 public static string NewLine( int level, string template, params object[] args )
 {
     var wr = new OutlineWriter( level );
     wr.Line();
     wr.Indent();
     wr.Append( template, args );
     return wr.ToString();
 }