예제 #1
0
파일: ClassB.cs 프로젝트: pawrob/TPR_PB_RM
 public ClassB(SerializationInfo info, StreamingContext context)
 {
     DateTimeProperty = info.GetDateTime("DateTimeProperty");
     DecimalProperty  = info.GetDecimal("DecimalProperty");
     StringProperty   = info.GetString("StringProperty");
     ClassCProperty   = (ClassC)info.GetValue("ClassCProperty", typeof(ClassC));
 }
예제 #2
0
파일: ClassB.cs 프로젝트: pawrob/TPR_PB_RM
 public ClassB(DateTime dateTimeProperty, decimal decimalProperty, string stringProperty, ClassC classCProperty)
 {
     DateTimeProperty = dateTimeProperty;
     DecimalProperty  = decimalProperty;
     StringProperty   = stringProperty;
     ClassCProperty   = classCProperty;
 }