Exemple #1
0
    static void Main(string[] args)
    {
        var switcher = new BenchmarkSwitcher(new[]
        {
            typeof(MapBenchmark),
        });

        args = new string[] { "0" };

#if DEBUG
        var _foo = Foo.New();
        var hee  = StandardResolver.Default.GetMapper <Foo, Foo>().Map(_foo, StandardResolver.Default);
        var heee = _foo.Adapt <Foo>();
        var foo2 = new List <int>()
        {
            1, 10, 100
        };
        var foo3 = ObjectMapper.DeepCopy(foo2);


        Console.WriteLine(foo3);
#else
        switcher.Run(args);
#endif
    }