Skip to content

TemplateContext.Reset method

Undoes every binding and subscription registered since the last reset, in reverse order of registration, then forgets them. Registered names are kept.

public void Reset()

One failing cleanup does not stop the rest: the first exception is rethrown once every other cleanup has run.