Ejemplo n.º 1
0
 public ClassB(SerializationInfo serializationInfo, StreamingContext streamingContext)
 {
     ClassName  = serializationInfo.GetString("ClassName");
     ExampleInt = serializationInfo.GetInt32("ExampleInt");
     ExampleC   = (ClassC)serializationInfo.GetValue("ExampleC", typeof(ClassC));
 }
Ejemplo n.º 2
0
 public ClassB(string className, int exampleInt, ClassC exampleC)
 {
     ClassName  = className;
     ExampleInt = exampleInt;
     ExampleC   = exampleC;
 }