示例#1
0
        private static Argument InternalAdd(string Flag, string Description = null)
        {
            var Argument = new Argument(Flag, Description);

            AccountArgumentManager.Add(AccountManager.DefaultAccount, Argument);
            argumentCollection.Add(Argument);
            return(Argument);
        }
示例#2
0
 public static Argument Add(Argument Argument)
 {
     argumentCollection.Add(Argument);
     AccountArgumentManager.Add(AccountManager.DefaultAccount, Argument);
     foreach (Account Account in AccountManager.AccountCollection)
     {
         AccountArgumentManager.Add(Account, Argument);
     }
     return(Argument);
 }