示例#1
0
 public A(BB bbRef)
 {
     this.classVersion = A.CLASS_VERSION;
     this.MyInt        = 0;
     this.BBRef        = bbRef;
     // the indirect containment is set manually
     if (bbRef != null)
     {
         bbRef.ARef = this;
     }
     this.MyStr = "zero";
 }
示例#2
0
        public F()
        {
            this.classVersion = F.CLASS_VERSION;

            BB bbAA = new BB();

            this.AARef = new AA(bbAA);

            this.AAARef = new AAA();
            BB bbAAA = new BB();

            this.AAARef.BBRef = bbAAA;
        }
示例#3
0
 public AA(BB bbRef) : base(bbRef)
 {
     this.classVersion = AA.CLASS_VERSION;
     this.MyBool       = false;
     this.b            = new B();
 }