Exemple #1
0
 public Option(int optID, Nullable <char> optShort, string optLong,
               ARGUMENT hasArg, bool isRepeated)
 {
     o_optID      = optID;
     o_optShort   = optShort;
     o_optLong    = optLong;
     o_hasArg     = hasArg;
     o_isRepeated = isRepeated;
 }
Exemple #2
0
 public OptionPrivate(int optID, Nullable <char> optShort, string optLong,
                      ARGUMENT hasArg, bool isRepeated)
 {
     m_args       = new List <string> ();
     m_optID      = optID;
     m_optShort   = optShort;
     m_optLong    = optLong;
     m_hasArg     = hasArg;
     m_isRepeated = isRepeated;
     m_valid      = true;
 }