Ejemplo n.º 1
0
 public virtual void WriteTo( Stream stream )
 {
     CSVWriter writer = new CSVWriter( stream );
     WriteTo( writer );
 }
Ejemplo n.º 2
0
 public void WriteTo( CSVWriter writer )
 {
     writer.Write( red );
     writer.Write( green );
     writer.Write( blue );
     writer.Write( index );
     writer.EndRow();
 }
Ejemplo n.º 3
0
 public void WriteTo( CSVWriter writer )
 {
     for ( int i=0; i<Count; ++i ) {
         scales[i].WriteTo( writer );
     }
     writer.Flush();
 }
Ejemplo n.º 4
0
        public void WriteTo( CSVWriter writer )
        {
            writer.Write( name );
            writer.Write();
            writer.Write();
            writer.Write();
            writer.EndRow();

            writer.Write( "red" );
            writer.Write( "green" );
            writer.Write( "blue" );
            writer.Write( "index" );
            writer.EndRow();

            for ( int i=0; i<4; ++i ) {
                data[i].WriteTo( writer );
            }
        }