c# - Caliburn Micro event on view/viewmodel closing -


my application contains objects need cleaned when view closes, how caliburn fire event when it's closing view? possible? it's quartz.net triggers , schedules need stopped once application closes can't find end.

first: quartz.net runs inside process, stopped anyway when process ends

second: can make viewmodel implement iclose , put code inside tryclose or derive screen , override ondeactivate , put code there.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -