Beispiel #1
0
        string Line(object obj, CsvConfig config)
        {
            var line = CsvFunctions.ToLine(obj, config);

            Console.WriteLine(line);
            return(line);
        }
        public void Test()
        {
            var emf     = new EMFPackage(1, 2, 3, 4, 5, 6, 7, 8, 9);
            var imu     = new IMUPackage(10, 11, 12, 13, 14, 15);
            var package = new EMF_IMU_MetaPackage(emf, imu, 0, 0, 0, 1, 34);
            var config  = new CsvConfig(';');

            Console.WriteLine(
                CsvFunctions
                .ToHeader(
                    type: typeof(EMF_IMU_MetaPackage),
                    config: config
                    )
                );;
            Console.WriteLine(
                CsvFunctions
                .ToLine(
                    baseObject: package,
                    config: new CsvConfig(';')
                    )
                );
        }
 public string WithOptimization()
 => CsvFunctions.ToLine(classWithInterfaceImplemented, config);
 public string JustThePoint()
 => CsvFunctions.ToLine(point, config);
 public string WithoutOptimization()
 => CsvFunctions.ToLine(classWithoutInterfaceOptimization, config);
 public string BenchmarkToLineForEMF_IMU_MetaPackage()
 => CsvFunctions.ToLine(emf_imu_metaPackage, config);
 public string BenchmarkToLineForEmfPackage()
 => CsvFunctions.ToLine(emfPackage, config);
 public string BenchmarkToLineForEmfPackageWithMutableLoggingModel()
 => CsvFunctions.ToLine(emfWithMutableLoggingModel, config);
 public string BenchmarkToLineWithForReadonlyPoint3D()
 => CsvFunctions.ToLine(point, config);