You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

OptionParserAttribute.cs 321B

12345678910111213
  1. using System;
  2. namespace OptionParser
  3. {
  4. [AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
  5. public sealed class OptionParserAttribute : Attribute {
  6. public string Name;
  7. public string Switch;
  8. public bool Required;
  9. public object Default;
  10. public Type OptionType;
  11. }
  12. }