Пример #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");
 }
Пример #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");
 }
Пример #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");
            }
Пример #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);
            }
Пример #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);
            }
Пример #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");
                }
            }
Пример #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");
 }
Пример #8
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref recordable, "recordable");
 }
Пример #9
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref recorded, "recorded");
 }
Пример #10
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref member, "member");
 }
Пример #11
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref children, "children");
 }
Пример #12
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref convertibleA, "convertibleA");
     record.Record(ref convertibleB, "convertibleB");
 }
Пример #13
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.RecordAsThis(ref data);
     recorder.Record(ref data2, "data2");
 }
Пример #14
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref unparseable, "unparseable");
 }
Пример #15
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref intLL, "intLL");
 }
Пример #16
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref intList, "intList");
     record.Record(ref stringDict, "stringDict");
     record.Record(ref intArray, "intArray");
 }
Пример #17
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref childA, "childA");
     record.Record(ref childB, "childB");
 }
Пример #18
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref element, "element");
 }
Пример #19
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref alph, "alph");
     record.Record(ref bet, "bet");
     record.Record(ref gam, "gam");
 }
Пример #20
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref left, "left");
     record.Record(ref right, "right");
 }
Пример #21
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref stringContains, "stringContains");
     record.Record(ref stringEmpty, "stringEmpty");
     record.Record(ref stringNull, "stringNull");
 }
Пример #22
0
 public virtual void Record(Dec.Recorder record)
 {
     record.Record(ref baseVal, "baseVal");
 }
Пример #23
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref a, "a");
     record.Record(ref b, "b");
     record.Record(ref c, "c");
 }
Пример #24
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref referenceA, "referenceA");
     record.Record(ref dict, "dict");
     record.Record(ref referenceB, "referenceB");
 }
Пример #25
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref convertible, "convertible");
 }
Пример #26
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref baseContainer, "baseContainer");
 }
Пример #27
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref value, "value");
 }
Пример #28
0
 public void Record(Dec.Recorder record)
 {
     record.Record(ref x, "x");
     record.Record(ref y, "x");  // oops!
 }
Пример #29
0
            public override void Record(Dec.Recorder record)
            {
                base.Record(record);

                record.Record(ref derivedVal, "derivedVal");
            }
Пример #30
0
 public void Record(Dec.Recorder recorder)
 {
     recorder.Record(ref record, "record");
     recorder.Record(ref factoryrecord, "factoryrecord");
 }