Exemplo n.º 1
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref a, "a");
     record.Record(ref b, "b");
     record.Record(ref empty, "empty");
     record.Record(ref forceEmpty, "forceEmpty");
 }
Exemplo n.º 2
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref childAone, "childAone");
     record.Record(ref childAtwo, "childAtwo");
     record.Record(ref childB, "childB");
     record.Record(ref childEmpty, "childEmpty");
 }
Exemplo n.º 3
0
            public void Record(Dec.Recorder record)
            {
                record.Record(ref intValue, "intValue");
                record.Record(ref floatValue, "floatValue");
                record.Record(ref boolValue, "boolValue");
                record.Record(ref stringValue, "stringValue");

                record.Record(ref typeValue, "typeValue");
            }
Exemplo n.º 4
0
            public override object Record(object model, Type type, Dec.Recorder recorder)
            {
                var converted = model as Converted ?? new Converted();

                recorder.Record(ref converted.a, "a");
                recorder.Record(ref converted.b, "b");
                recorder.Record(ref converted.c, "c");

                return(converted);
            }
Exemplo n.º 5
0
            public override object Record(object model, Type type, Dec.Recorder recorder)
            {
                ConverterStructObj cso;

                if (model == null)
                {
                    cso = new ConverterStructObj();
                }
                else
                {
                    cso = (ConverterStructObj)model;
                }

                recorder.Record(ref cso.intA, "intA");
                recorder.Record(ref cso.intB, "intB");

                return(cso);
            }
Exemplo n.º 6
0
            public void Record(Dec.Recorder recorder)
            {
                recorder.Record(ref makeFactory, "makeFactory");

                if (makeFactory)
                {
                    recorder.WithFactory(new Dictionary <Type, Func <Type, object> >()
                    {
                        { typeof(RecursiveListKillerItem), _ => new RecursiveListKillerItem()
                          {
                              usedFactory = true
                          } },
                    }).Record(ref element, "element");
                }
                else
                {
                    recorder.Record(ref element, "element");
                }
            }
Exemplo n.º 7
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref intRef, "intRef");
     record.Record(ref enumRef, "enumRef");
     record.Record(ref stringRef, "stringRef");
     record.Record(ref typeRef, "typeRef");
     record.Record(ref nullRef, "nullRef");
     record.Record(ref classRef, "classRef");
     record.Record(ref structRef, "structRef");
     record.Record(ref arrayRef, "arrayRef");
     record.Record(ref listRef, "listRef");
     record.Record(ref dictRef, "dictRef");
     record.Record(ref hashRef, "hashRef");
 }
Exemplo n.º 8
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref recordable, "recordable");
 }
Exemplo n.º 9
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref recorded, "recorded");
 }
Exemplo n.º 10
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref member, "member");
 }
Exemplo n.º 11
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref children, "children");
 }
Exemplo n.º 12
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref convertibleA, "convertibleA");
     record.Record(ref convertibleB, "convertibleB");
 }
Exemplo n.º 13
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.RecordAsThis(ref data);
     recorder.Record(ref data2, "data2");
 }
Exemplo n.º 14
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref unparseable, "unparseable");
 }
Exemplo n.º 15
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref intLL, "intLL");
 }
Exemplo n.º 16
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref intList, "intList");
     record.Record(ref stringDict, "stringDict");
     record.Record(ref intArray, "intArray");
 }
Exemplo n.º 17
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref childA, "childA");
     record.Record(ref childB, "childB");
 }
Exemplo n.º 18
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref element, "element");
 }
Exemplo n.º 19
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref alph, "alph");
     record.Record(ref bet, "bet");
     record.Record(ref gam, "gam");
 }
Exemplo n.º 20
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref left, "left");
     record.Record(ref right, "right");
 }
Exemplo n.º 21
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref stringContains, "stringContains");
     record.Record(ref stringEmpty, "stringEmpty");
     record.Record(ref stringNull, "stringNull");
 }
Exemplo n.º 22
0
 public virtual void Record(Dec.Recorder record)
 {
     record.Record(ref baseVal, "baseVal");
 }
Exemplo n.º 23
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref a, "a");
     record.Record(ref b, "b");
     record.Record(ref c, "c");
 }
Exemplo n.º 24
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref referenceA, "referenceA");
     record.Record(ref dict, "dict");
     record.Record(ref referenceB, "referenceB");
 }
Exemplo n.º 25
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref convertible, "convertible");
 }
Exemplo n.º 26
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref baseContainer, "baseContainer");
 }
Exemplo n.º 27
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref value, "value");
 }
Exemplo n.º 28
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref x, "x");
     record.Record(ref y, "x");  // oops!
 }
Exemplo n.º 29
0
            public override void Record(Dec.Recorder record)
            {
                base.Record(record);

                record.Record(ref derivedVal, "derivedVal");
            }
Exemplo n.º 30
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref record, "record");
     recorder.Record(ref factoryrecord, "factoryrecord");
 }