示例#1
0
 public static void Stub(UtilityPop3Argument utilityPop3Argument)
 {
     NetworkStream networkStream;
     TcpClient     tcpClient = Connect
                               (
         utilityPop3Argument.Hostname,
         utilityPop3Argument.Port,
         out networkStream,
         utilityPop3Argument.Timeout
                               );
 }
示例#2
0
        /// <summary>The entry point for the application.</summary>
        /// <param name="argv">A list of command line arguments</param>
        public static void Main(String[] argv)
        {
            bool parseCommandLineArguments;
            UtilityPop3Argument utilityPop3Argument = new UtilityPop3Argument();

            parseCommandLineArguments = Parser.ParseArgumentsWithUsage(argv, utilityPop3Argument);
            if (parseCommandLineArguments == false)
            {
                return;
            }
            Stub(utilityPop3Argument);
        }