コード例 #1
0
 public SampleDataClass1(string name, SampleDataStruct1 dataStruct)
 {
     this.name       = name;
     this.dataStruct = dataStruct;
 }
コード例 #2
0
 protected SampleDataClass1(SerializationInfo information, StreamingContext context)
 {
     this.name       = (string)information.GetValue("name", typeof(string));
     this.dataStruct = (SampleDataStruct1)information.GetValue("dataStruct", typeof(SampleDataStruct1));
 }
コード例 #3
0
 public SampleDataClass1()
 {
     this.name       = string.Empty;
     this.dataStruct = new SampleDataStruct1();
 }