Ejemplo n.º 1
0
 public void SavesComplexObjects()
 {
     var engine = new ComplexEngine();
     for (var i = 0; i < 1000000; i++)
     {
         var obj = new ComplexObj();
         obj.SomeInt = 5;
         obj.SomeString = "aaaa\n\n\n\nbbbbbbbb";
         obj.StringList = new List<string>() { "aaaaaa", "bbbbbbbbbbb", "cccccc\n\n\n\nn\"ddddddd", "eee   eeee  eeeeee" };
         engine.Obj.Add(obj);
     }
 }
Ejemplo n.º 2
0
        public void SavesComplexObjects()
        {
            var engine = new ComplexEngine();

            for (var i = 0; i < 1000000; i++)
            {
                var obj = new ComplexObj();
                obj.SomeInt    = 5;
                obj.SomeString = "aaaa\n\n\n\nbbbbbbbb";
                obj.StringList = new List <string>()
                {
                    "aaaaaa", "bbbbbbbbbbb", "cccccc\n\n\n\nn\"ddddddd", "eee   eeee  eeeeee"
                };
                engine.Obj.Add(obj);
            }
        }