예제 #1
0
 protected BaseInterpreter([NotNull] CommandlineOptionInterpreter top, [NotNull] string name, int offset = 0)
 {
     Offset         = offset;
     TopInterpreter = top ?? throw new ArgumentNullException(nameof(top));
     Parent         = null;
     Name           = name ?? throw new ArgumentNullException(nameof(name));
 }
 public ConfigurationInterpreter(CommandlineOptionInterpreter top, CmdConfigurationNamespaceAttribute root,
                                 object referenceToObject,
                                 TypeInfo typeInfoOfConfiguration, int offset = 0) : base(top, root.Name,
                                                                                          offset)
 {
     _root = root;
     _referenceToObject       = referenceToObject;
     _typeInfoOfConfiguration = typeInfoOfConfiguration;
 }
예제 #3
0
 internal ContextInterpreter([NotNull] CommandlineOptionInterpreter top,
                             [NotNull] CmdContextAttribute underlyingContextAttribute, int offset = 0) :
     base(top, underlyingContextAttribute.Name, offset) =>