Пример #1
0
 public TestInheritence9(bool init)
 {
     derivedDC = new DerivedSerializable(true);
     baseDC    = derivedDC;
     base1     = new Derived2Serializable(true);
     derived2  = (Derived2Serializable)base1;
 }
Пример #2
0
 public TestInheritence91(bool init)
 {
     derivedDC = new DerivedSerializable(true);
     baseDC    = derivedDC;
     base1     = new Derived2Serializable(true);
     derived3  = new Derived3Derived2Serializable(true);
     derived2  = derived3;
 }
Пример #3
0
 public TestInheritence14(bool init)
 {
     baseDC          = new BaseSerializable(true);
     derived2DC      = new Derived2Serializable(true);
     derived2DC.data = baseDC.data;
     baseDC.Data     = "String1";
     derived2DC.Data = baseDC.Data;
     derived2DC.data = baseDC.data2;
     baseDC.Data2    = "String2";
     derived2DC.Data = baseDC.Data2;
 }
Пример #4
0
 public TestInheritence15(bool init)
 {
     derived2DC       = new Derived2Serializable(true);
     baseDC           = new BaseSerializable(true);
     baseDC.data      = derived2DC.data;
     derived2DC.Data  = new DateTime().ToLongTimeString();
     baseDC.Data      = derived2DC.Data;
     baseDC.data      = derived2DC.data1;
     derived2DC.Data1 = new DateTime().ToLongTimeString();
     baseDC.Data      = derived2DC.Data1;
 }
Пример #5
0
 public TestInheritence14(bool init)
 {
     baseDC          = new BaseSerializable(true);
     derived2DC      = new Derived2Serializable(true);
     derived2DC.data = baseDC.data;
     baseDC.Data     = new DateTime().ToLongTimeString();
     derived2DC.Data = baseDC.Data;
     derived2DC.data = baseDC.data2;
     baseDC.Data2    = new DateTime().ToLongTimeString();
     derived2DC.Data = baseDC.Data2;
 }
Пример #6
0
 public TestInheritence13(bool init)
 {
     baseDC           = new BaseSerializable(true);
     derivedDC        = new DerivedSerializable(true);
     derived2DC       = new Derived2Serializable(true);
     derived2DC.data  = derivedDC.data;
     derivedDC.Data   = new DateTime().ToLongTimeString();
     derived2DC.Data  = derivedDC.Data;
     derived2DC.data  = derivedDC.data3;
     derivedDC.Data3  = new DateTime().ToLongTimeString();
     derived2DC.Data  = derivedDC.Data3;
     derived2DC.data4 = derivedDC.data1;
     derivedDC.Data1  = new DateTime().ToLongTimeString();
     derived2DC.Data4 = derivedDC.Data1;
     derived2DC.data1 = derived2DC.data2;
     derived2DC.Data2 = new DateTime().ToLongTimeString();
     derived2DC.Data1 = derived2DC.Data2;
 }