Parse() public method

public Parse ( string source ) : IList
source string
return IList
コード例 #1
0
        private bool TryParseNotifications(string data, out IList <TraceItem> traceItems)
        {
            try
            {
                var parser = new TraceItemsParser();
                traceItems = parser.Parse(data);

                return(true);
            }
            catch
            {
                traceItems = null;
                return(false);
            }
        }
コード例 #2
0
        private bool TryParseNotifications(string data, out IList<TraceItem> traceItems)
        {
            try
            {
                var parser = new TraceItemsParser();
                traceItems = parser.Parse(data);

                return true;
            }
            catch
            {
                traceItems = null;
                return false;
            }
        }