Example #1
0
 public void Setup()
 {
     this.firstObject                    = new ReferenceTypeClass();
     this.withReferenceBox               = this.firstObject;
     this.withoutReferenceBox            = this.firstObject;
     this.firstObject.recursiveReference = this.firstObject;
 }
Example #2
0
        public HideDuplicateReferenceBoxExamples()
        {
            var obj = new ReferenceTypeClass();

            this.firstObject         = obj;
            this.withReferenceBox    = obj;
            this.withoutReferenceBox = obj;
            obj.recursiveReference   = obj;
        }
Example #3
0
 public Readonly()
 {
     ReadonlyInt1 = 1;
     ReadonlyReferenceTypeClass = new ReferenceTypeClass();
 }
Example #4
0
 static Readonly()
 {
     StaticReadonlyInt1 = 1;
     StaticReadonlyReferenceTypeClass = new ReferenceTypeClass();
 }