Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CommandFilter to support "pluggable" command handling #20

Open
sharwell opened this issue Mar 11, 2014 · 1 comment
Open

Update CommandFilter to support "pluggable" command handling #20

sharwell opened this issue Mar 11, 2014 · 1 comment
Assignees

Comments

@sharwell
Copy link
Member

Currently CommandFilter requires creating a derived type in order to handle commands. It would help if the only required responsibility of derived types was implementing the connect/disconnect functionality, with consuming code able to specify the command handling through separate registration.

@sharwell sharwell self-assigned this Mar 11, 2014
@sharwell
Copy link
Member Author

The registration method could have overloads for several types of command IDs:

  • VSStd97CmdID (implied GUID)
  • VSStd2KCmdID (implied GUID)
  • CommandID (provides GUID and ID)
  • Combination of Guid and uint (also provides a method for Shell.Utility.11 to provide an extension method for registering VSStd11CmdID commands)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant