public Mixed1(bool init)
 {
     Data1 = new SimpleDC(true);
     Data2 = new SimpleDCWithRef(true);
     Data3 = new SimpleDCWithSimpleDMRef(true);
     Data4 = new SimpleStructDC(true);
     Data5 = new SimpleStructDCWithRef(true);
 }
Example #2
0
 public DMInCollection1(bool init)
 {
     Data1 = new SimpleDC(true);
     List1 = new List <SimpleDC>();
     List1.Add(Data1);
     List1.Add(new SimpleDC(true));
     List1.Add(List1[1]);
 }
Example #3
0
 public DMInCollection2(bool init)
 {
     List1 = new List <SimpleDC>();
     List2 = new List <SimpleDC>();
     List1.Add(new SimpleDC(true));
     List1.Add(new SimpleDC(true));
     List1.Add(new SimpleDC(true));
     List1.Add(new SimpleDC(true));
     List2.Add(List1[0]);
     List2.Add(new SimpleDC(true));
     List1.Add(List2[1]);
     List3             = List1;
     List4             = List2;
     Data              = List2[0];
     InnerContent      = Data.Data;
     InnerInnerContent = List1[3].Data;
 }
Example #4
0
        public DMInDict1(bool init)
        {
            Dict1           = new Dictionary <SimpleDC, SimpleDC>();
            Data1           = new SimpleDC(true);
            Data2           = new SimpleDC(true);
            InnerInnerData1 = new Guid("cd4f6d1f-db5e-49c9-bb43-13e73508a549").ToString();
            InnerData1      = Data1.Data;

            SimpleDC t1 = new SimpleDC(true);
            SimpleDC t2 = new SimpleDC(true);

            t2.Data = InnerInnerData1;
            Dict1.Add(t1, t2);
            Dict1.Add(Data1, Data2);
            Dict1.Add(new SimpleDC(true), t2);
            Dict1.Add(t2, new SimpleDC(true));
            Dict2 = Dict1;
            foreach (KeyValuePair <SimpleDC, SimpleDC> kvp in Dict1)
            {
                Kvp1 = kvp;
            }
        }
Example #5
0
        public DMWithRefInDict1(bool init)
        {
            Dict1           = new Dictionary <SimpleDCWithRef, SimpleDCWithRef>();
            Data1           = new SimpleDCWithRef(true);
            Data2           = new SimpleDCWithRef(true);
            InnerInnerData1 = new Guid("6d807157-536f-4794-a157-e463a11029aa").ToString();
            InnerData1      = Data1.Data;

            SimpleDCWithRef t1 = new SimpleDCWithRef(true);
            SimpleDCWithRef t2 = new SimpleDCWithRef(true);

            t2.Data.Data = InnerInnerData1;
            Dict1.Add(t1, t2);
            Dict1.Add(Data1, Data2);
            Dict1.Add(new SimpleDCWithRef(true), t2);
            Dict1.Add(t2, new SimpleDCWithRef(true));
            Dict2 = Dict1;
            foreach (KeyValuePair <SimpleDCWithRef, SimpleDCWithRef> kvp in Dict1)
            {
                Kvp1 = kvp;
            }
        }
Example #6
0
 public DMWithRefInCollection2(bool init)
 {
     List1 = new List <SimpleDCWithRef>();
     List2 = new List <SimpleDCWithRef>();
     List1.Add(new SimpleDCWithRef(true));
     List1.Add(new SimpleDCWithRef(true));
     List1.Add(new SimpleDCWithRef(true));
     List1.Add(new SimpleDCWithRef(true));
     List2.Add(List1[0]);
     List2.Add(new SimpleDCWithRef(true));
     List1.Add(List2[1]);
     List3             = List1;
     List4             = List2;
     Data              = List2[0].Data;
     InnerContent      = Data.Data;
     InnerInnerContent = List1[3].Data.Data;
     List5             = new List <SimpleDC>();
     List5.Add(Data);
     List5.Add(new SimpleDC(true));
     List5.Add(Data);
     List6 = new List <object>();
     List6.Add(new SimpleDC(true));
     List6.Add(new SimpleDCWithRef(true));
     List6.Add(new SimpleDCWithSimpleDMRef(true));
     List6.Add(new List <SimpleDC>());
     List6.Add(new List <SimpleDCWithRef>());
     List6.Add(new List <SimpleDCWithSimpleDMRef>());
     List6.Add(List1);
     List6.Add(List2);
     List6.Add(List3);
     List6.Add(List4);
     List6.Add(List5);
     List6.Add(Data);
     List6.Add(InnerContent);
     List6.Add(InnerInnerContent);
 }
Example #7
0
 public DerivedWithIsRefFalse5(bool init)
     : base(init)
 {
     RefData5 = RefData4;
 }
Example #8
0
 public BaseWithIsRefTrue(bool init)
 {
     Data = new SimpleDC(true);
 }
Example #9
0
 public DerivedNoIsRef4(bool init)
     : base(init)
 {
     RefData4 = RefData3;
 }
Example #10
0
 public DerivedNoIsRef2(bool init)
     : base(init)
 {
     RefData2 = RefData;
 }
Example #11
0
 public DerivedWithIsRefFalseExplicit(bool init)
     : base(true)
 {
     RefData = Data;
 }
Example #12
0
 public BaseNoIsRef(bool init)
 {
     Data = new SimpleDC(true);
 }
 public SimpleDCWithRef(bool init)
 {
     Data    = new SimpleDC(true);
     RefData = Data;
 }
 public DCVersioned2(bool init)
 {
     this.Data = new SimpleDC(true);
 }
 public DCVersioned1(bool init)
 {
     this.Data    = new SimpleDC(true);
     this.RefData = this.Data;
 }
Example #16
0
 public DerivedWithIsRefTrue6(bool init)
     : base(init)
 {
     RefData6 = RefData5;
 }
Example #17
0
 public DerivedWithIsRefTrueExplicit2(bool init)
     : base(init)
 {
     RefData2 = Data;
 }
Example #18
0
 public DerivedWithIsRefTrueNoRefdObjects(bool init)
     : base(true)
 {
     RefData = new SimpleDC(true);
 }
Example #19
0
 public DerivedWithIsRefTrue(bool init)
     : base(true)
 {
     RefData = Data;
 }
Example #20
0
 public DerivedWithIsRefFalse2(bool init)
     : base(init)
 {
     RefData2 = RefData;
 }
Example #21
0
 public DerivedNoIsRef(bool init)
     : base(init)
 {
     RefData = Data;
 }
Example #22
0
 public DerivedWithIsRefFalse3(bool init)
     : base(init)
 {
     RefData3 = RefData2;
 }
Example #23
0
 public DerivedNoIsRef3(bool init)
     : base(init)
 {
     RefData3 = RefData2;
 }
Example #24
0
 public DerivedWithIsRefFalse4(bool init)
     : base(init)
 {
     RefData4 = RefData3;
 }
Example #25
0
 public DerivedNoIsRef5(bool init)
     : base(init)
 {
     RefData5 = RefData4;
 }
Example #26
0
 public SimpleDCContainer(bool init)
 {
     Data = new SimpleDC(true);
 }