Beispiel #1
0
 public void WriteTo( CSVWriter writer )
 {
     writer.Write( red );
     writer.Write( green );
     writer.Write( blue );
     writer.Write( index );
     writer.EndRow();
 }
Beispiel #2
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 );
            }
        }