Interface IRevitDestroyableCommand
Holds lifecycle hook for Commands to be able to hook up to disposing container
Namespace: Onbox.Revit.V8.Commands
Assembly: Onbox.Revit.dll
Syntax
public interface IRevitDestroyableCommand
Methods
| Improve this Doc View SourceOnDestroy(IContainerResolver)
External Command lifecycle hook which is called just before the container is disposed.
Declaration
void OnDestroy(IContainerResolver container)
Parameters
Type | Name | Description |
---|---|---|
IContainerResolver | container |