You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure what the best possible way to implement this would be, however I know that support prefixes "natively" from the library would benefit everyone wanting to use the library.
The text was updated successfully, but these errors were encountered:
I'll probably implement this as an ICommandParser which decorates a previous ICommandParser instance. However, this would require that the DI container supports decoration... I could borrow a technique I used in one of my work-in-progress libraries, but it wouldn't be ideal, since it effectively means registering and unregistering services as the decorator chain is built.
Prefixes aren't really part of the command, and a lot of times are configurable; adding them as attributes would make it awkward to configure dynamically at runtime.
I am not sure what the best possible way to implement this would be, however I know that support prefixes "natively" from the library would benefit everyone wanting to use the library.
The text was updated successfully, but these errors were encountered: