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
Jesse R. Jose edited this page Jan 19, 2020
·
1 revision
Implementations
If you want to avoid boring repetitive code and move on with the fascinating part, you can use one of the generic implementations.
classMyClass{publicMyClass(){MyCommand=newCommand<Foo>(SomethingInteresting);}publicCommand<Foo>MyCommand{get;}privatevoidSomethingInteresting(Foofoo){// do your thing...}}