internal static void NewInstanceFromXml(XmlNode detail, ref Place result, int id) { if (detail.Name != "Casino") { return; } result = new Casino(id); }