//////////////////////////////////////////////////////////////////////
 /// <summary>Main method
 ///
 /// The command takes as arguments the options <c>--key</c>
 /// (the developer key), optionally <c>--url</c> (the url to
 /// connect to). This is handled by <see cref="Example">the
 /// superclass</see>
 ///
 /// Following the option, the query examples accepts one argument
 /// containing a Google Base Query.
 ///
 /// QueryExample connects to the Google Base server, runs the
 /// query and displays up to 10 results.
 ///
 /// Usage: queryexample.exe --key <key> [--url <url>] [<query>]
 ///</summary>
 //////////////////////////////////////////////////////////////////////
 public static void Main(string[] args)
 {
     QueryExample example = new QueryExample();
     example.Execute(args);
 }
Exemple #2
0
        //////////////////////////////////////////////////////////////////////
        /// <summary>Main method
        ///
        /// The command takes as arguments the options <c>--key</c>
        /// (the developer key), optionally <c>--url</c> (the url to
        /// connect to). This is handled by <see cref="Example">the
        /// superclass</see>
        ///
        /// Following the option, the query examples accepts one argument
        /// containing a Google Base Query.
        ///
        /// QueryExample connects to the Google Base server, runs the
        /// query and displays up to 10 results.
        ///
        /// Usage: queryexample.exe --key <key> [--url <url>] [<query>]
        ///</summary>
        //////////////////////////////////////////////////////////////////////
        public static void Main(string[] args)
        {
            QueryExample example = new QueryExample();

            example.Execute(args);
        }