Exemplo n.º 1
0
        /// <summary>
        ///     returns true if the loading succeeded
        /// </summary>
        /// <returns>the success state of the operation</returns>
        private bool LoadSource()
        {
            bool ret = filepath.TryGetLines(out source);

            if (ret)
            {
                source = source.Select(x => x.Replace("\r", "")).ToArray();
            }

            return(ret);
        }
Exemplo n.º 2
0
        /// <summary>
        /// returns true if the loading succeeded
        /// </summary>
        /// <returns>the success state of the operation</returns>
        private bool LoadSource()
        {
            bool ret = filepath.TryGetLines(out source);

            return(ret);
        }