Пример #1
0
        private XElement GetRoot([NotNull] string response)
        {
            Debug.ArgumentNotNull(response, nameof(response));

            try
            {
                return(XDocument.Parse(response).Root);
            }
            catch (Exception ex)
            {
                Trace.Catch(ex);
                return(null);
            }
        }