When hosting scriptcs and using the ScriptExecutor it'd be nice to have a way to be notified if any assemblies or namespaces change.
I see two ways of doing this.
- Extending the IScriptExecutor interface to have an event or action that is called.
- Making all the
AddReferences, RemoveReferences, etc methods virtual, so they can be overwritten with functionality that notifies.
When hosting scriptcs and using the ScriptExecutor it'd be nice to have a way to be notified if any assemblies or namespaces change.
I see two ways of doing this.
AddReferences,RemoveReferences, etc methods virtual, so they can be overwritten with functionality that notifies.