CommandLineUtils
CommandLineUtils copied to clipboard
[Question] Defining Options in Base Class and using them in derived class
In my application, I have a base class that defines one argument representing commands I want to use in multiple derived classes. However, when I insert the command-line arguments and run my application, these options are null. Their values always need to be set. I tried the solution described for the Options. I declared a 'Parent' property in the derived class, but that populates as null. However, the below workaround is working var args= app.Parent.Arguments; Is anything similar to Options available to access parent Arguments in the derived class?