Home > Net > C # programming module, execution order -- -- ask for help
C # programming module, execution order -- -- ask for help
Time:09-27
C # programming module, execution order - for help
Used to do a small project, suddenly found recently, most of the function modules of the project can be reuse (just in a different order), So think of - whether can design function module automatic selection (order) and then press order execution (don't redistribute the EXE), For example (can instantiate the basis of the function modules of F1 F2 F3, F4 F5 F6 F7 F8 F9 F10, project 1 F5 F4 F6 - order is F1 F2 F10, project 2 - order is F2 F4 F5 F5 F8 F10 F3 F5), Trouble is now 1: - after the order is changed to instantiate selection module, 2: - how instantiation module in the main program calls in order 3: - how to debug each instantiation module alone, BBS great god more - hope everybody a great god some directions article refers to the direction of the grateful to be grateful
CodePudding user response:
You this demand and plug-in development some similar, you can consult MEF
WPF a Prism open source framework is modular, you can use the code, the dynamic load module configuration file;
CodePudding user response:
Separate debugging as to what you say, I can understand into a unit test? Prism each module can be separate test