Beispiel #1
0
 private void SetupBanArguments(){
     if (banArguments != null)
         return;
     banArguments = new Arguments();
     banArguments.AddOption("t|time")
         .WithArgument<Time>("TIME")
         .WithDefaultValue(Time.Forever);
     banArguments.RegisterTypeConverter(Time.Parse);
 }