Exemplo n.º 1
0
        private Utilities.CommandLineBuilder2 CreateCommandLineBuilder()
        {
            var cmd = new Utilities.CommandLineBuilder2();

            if (this.UserName != null)
            {
                cmd.AppendSwitch("--username " + this.UserName);
            }

            if (this.UserPassword != null)
            {
                cmd.AppendSwitch("--password " + this.UserPassword);
            }

            return(cmd);
        }
Exemplo n.º 2
0
        private Utilities.CommandLineBuilder2 CreateCommandLineBuilder()
        {
            var cmd = new Utilities.CommandLineBuilder2();
            if (this.UserName != null)
            {
                cmd.AppendSwitch("--username " + this.UserName);
            }

            if (this.UserPassword != null)
            {
                cmd.AppendSwitch("--password " + this.UserPassword);
            }

            return cmd;
        }