Beispiel #1
0
 public virtual void WriteTo( Stream stream )
 {
     CSVWriter writer = new CSVWriter( stream );
     WriteTo( writer );
 }
Beispiel #2
0
 public void WriteTo( CSVWriter writer )
 {
     writer.Write( red );
     writer.Write( green );
     writer.Write( blue );
     writer.Write( index );
     writer.EndRow();
 }
Beispiel #3
0
 public void WriteTo( CSVWriter writer )
 {
     for ( int i=0; i<Count; ++i ) {
         scales[i].WriteTo( writer );
     }
     writer.Flush();
 }
Beispiel #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 );
            }
        }