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[])); }
public NotFound(NotFoundReason why, NameComponent[] restOfName) { this.why = why; this.rest_of_name = restOfName; }