Exemple #1
0
        public override string OptionsToString()
        {
            var sb = new StringBuilder(_delegate.OptionsToString());

            if (Resource.Length > 0)
            {
                sb.Append(" -r ");
                bool addQuote = Resource.IndexOf(':') != -1;
                if (addQuote)
                {
                    sb.Append("\"");
                }
                sb.Append(Resource);
                if (addQuote)
                {
                    sb.Append("\"");
                }
            }
            return(sb.ToString());
        }
Exemple #2
0
 public override string OptionsToString() => _endpoint.OptionsToString();