public CVE_entry(entryType l_entry) { try { _entry = l_entry; _name = l_entry.name; } catch (Exception eX) { Console.Error.WriteLine("Exception in " + this.GetType().Name + " : " + eX); } }
public CVE_entry(SerializationInfo oInfo, StreamingContext ctxt) { this._name = (string)oInfo.GetValue("NVD_name", typeof(string)); this._entry = (entryType)oInfo.GetValue("NVD_entry", typeof(entryType)); }