Abraham.DLXChecker.Check C# (CSharp) Метод

Check() публичный Метод

public Check ( string source ) : CheckResult
source string
Результат CheckResult
        public CheckResult Check(string  source)
        {
            if (string.IsNullOrEmpty(source))
                throw new ArgumentNullException();
            src_content = source;
            result = new CheckResult();
            result.Content = new StringBuilder();
            result.Errors = new List<DLXException>();
            result.Table = new List<string>();

            token_index = -1;
            line_at = 0;
            line = 1;
            get_src_token();
            try
            {
                Data();
                Text();

            }
            catch
            {
            }
            finally
            {
                foreach (string t in dataTable)
                {
                    result.Table.Add(t);
                }
                foreach (string t in textTable)
                    result.Table.Add(t);
            }

            return result;
        }