コード例 #1
0
 protected SampleDataClass2(SerializationInfo information, StreamingContext context)
 {
     this.state  = (SampleEnum1)information.GetValue("state", typeof(SampleEnum1));
     this.values = (double[])information.GetValue("values", typeof(double[]));
 }
コード例 #2
0
 public SampleDataClass2()
 {
     this.state  = default(SampleEnum1);
     this.values = new double[] { };
 }
コード例 #3
0
 public SampleDataClass2(SampleEnum1 state, double[] values)
 {
     this.state  = state;
     this.values = values;
 }