예제 #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);
        }
예제 #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);
        }