public static BIC GetBICDocument(Stream xmlData) { XmlSerializer ser = new XmlSerializer(typeof(ED807)); XmlReader reader = XmlReader.Create(xmlData); ED807 ed = ser.Deserialize(reader) as ED807; return(new BIC(ed)); }
private BIC(ED807 ed) { ed807 = ed ?? throw new ArgumentNullException(); }