Provides settings for Rex
예제 #1
0
        /// <summary>
        /// Parse the given commandline arguments and create the corresponding settings object.
        /// </summary>
        public static bool ParseFromCommandlineArguments(string[] args, out RexSettings settings)
        {
            RexSettings settings1 = new RexSettings();

            if (CommandLineParser.ParseArgumentsWithUsage(args, settings1))
            {
                settings = settings1;
                return(true);
            }
            settings = null;
            return(false);
        }
예제 #2
0
 /// <summary>
 /// Parse the given commandline arguments and create the corresponding settings object.
 /// </summary>
 public static bool ParseFromCommandlineArguments(string[] args, out RexSettings settings)
 {
     RexSettings settings1 = new RexSettings();
     if (CommandLineParser.ParseArgumentsWithUsage(args, settings1))
     {
         settings = settings1;
         return true;
     }
     settings = null;
     return false;
 }