예제 #1
0
        public string ToString(string format, IFormatProvider formatProvider)
        {
            if (string.IsNullOrEmpty(format))
            {
                format = "TAB";
            }

            return(StringFormattableExtensions.BlockReplace(format, Match));
        }
        public string ToString(string format, IFormatProvider formatProvider)
        {
            if (string.IsNullOrEmpty(format))
            {
                format = $"{nameof(Environment.MachineName)} {nameof(Environment.UserName)}";
            }

            return(StringFormattableExtensions.BlockReplace(format, Match));
        }