示例#1
0
        private string GetPassword(AppArguments arguments)
        {
            var value = arguments.GetProperty("p");
            if (string.IsNullOrEmpty(value))
                output.WriteLine("error: no password specified");

            return value;
        }
示例#2
0
        private string GetLastName(AppArguments arguments)
        {
            var value = arguments.GetProperty("ln");
            if (string.IsNullOrEmpty(value))
                output.WriteLine("error: no last name specified");

            return value;
        }
示例#3
0
        private string GetEmail(AppArguments arguments)
        {
            var value = arguments.GetProperty("email");
            if (string.IsNullOrEmpty(value))
                output.WriteLine("error: no email specified");

            return value;
        }
示例#4
0
        private string GetPassword(AppArguments arguments)
        {
            var value = arguments.GetProperty("p");

            if (string.IsNullOrEmpty(value))
            {
                output.WriteLine("error: no password specified");
            }

            return(value);
        }
示例#5
0
        private string GetEmail(AppArguments arguments)
        {
            var value = arguments.GetProperty("email");

            if (string.IsNullOrEmpty(value))
            {
                output.WriteLine("error: no email specified");
            }

            return(value);
        }
示例#6
0
        private string GetLastName(AppArguments arguments)
        {
            var value = arguments.GetProperty("ln");

            if (string.IsNullOrEmpty(value))
            {
                output.WriteLine("error: no last name specified");
            }

            return(value);
        }