コード例 #1
0
 protected NotFound(System.Runtime.Serialization.SerializationInfo info,
                    System.Runtime.Serialization.StreamingContext context) : base(info, context) {
     this.why = (NotFoundReason)info.GetValue("why", typeof(NotFoundReason));
     this.rest_of_name = (NameComponent[])info.GetValue("rest_of_name", typeof(NameComponent[]));
 }
コード例 #2
0
 protected NotFound(System.Runtime.Serialization.SerializationInfo info,
                    System.Runtime.Serialization.StreamingContext context) : base(info, context)
 {
     this.why          = (NotFoundReason)info.GetValue("why", typeof(NotFoundReason));
     this.rest_of_name = (NameComponent[])info.GetValue("rest_of_name", typeof(NameComponent[]));
 }
コード例 #3
0
 public NotFound(NotFoundReason why, NameComponent[] restOfName) {
     this.why = why;
     this.rest_of_name = restOfName;
 }
コード例 #4
0
 public NotFound(NotFoundReason why, NameComponent[] restOfName)
 {
     this.why          = why;
     this.rest_of_name = restOfName;
 }