Provides settings for Rex
コード例 #1
0
ファイル: RexSettings.cs プロジェクト: teodorov/Automata-1
        /// <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;
 }