Want to add a CleanModel command that makes sure the adapter gets to a state that is has a completely fresh slate with no elements, properties, load or anything in it.
Useful for interop testing.
Could add a default implementation on the base adapter that first makes a call with the close command, followed by a call to the NewModel command. Then any adapter that want to take different/additional action can do so.
Description:
Want to add a
CleanModel
command that makes sure the adapter gets to a state that is has a completely fresh slate with no elements, properties, load or anything in it.Useful for interop testing.
Could add a default implementation on the base adapter that first makes a call with the close command, followed by a call to the NewModel command. Then any adapter that want to take different/additional action can do so.
@alelom @al-fisher