4
Answers

Interface Stub Order

adam_gartee

adam_gartee

20y
2k
1
I am wondering if there is a way to set the order in which Visual Studios generates the interface stubs when you implement that interface on a class. In my situation, I have an interface with dozens of method declarations, and when I implement the interface and get the prompt... "Press TAB to implement stubs for interface 'IMyInterface'" ...My methods are all out of order and jumbled up good 'n proper. Is there some kind of Design Preprocessor Directive or something that will allow me to set the order in which the methods/accessors are generated in Visual Studios?
Answers (4)
2
Praveen Kumar Sreeram
NA 15.1k 478.5k 8y
Somehow, when I posted this questions... alerts were not working..later they started working.. ( I mean I was able to enable them).. I also wrote an article on the same here..
http://www.c-sharpcorner.com/article/configure-notification-alerts-in-azure-account/
Thanks,
Prawin
0
Praveen Kumar Sreeram
NA 15.1k 478.5k 8y
Thanks Afzaal :-)
0
Afzaal Ahmad Zeeshan
NA 36k 2m 8y
Great job, Praveen! :-)
0
Praveen Kumar Sreeram
NA 15.1k 478.5k 8y
Yes, I did it in twitter.. Thanks
0
Afzaal Ahmad Zeeshan
NA 36k 2m 8y
I recommend directly contacting Microsoft for assistance.