/// <summary> /// Translates id map to xml /// </summary> /// <returns>map xml</returns> public static XElement IdMapToXml() { return(new XElement("ClientIdMap", IdMap.Select(_ => new XElement("Client", new XAttribute("Value", _.Key), new XAttribute("Id", _.Value))))); }