AutoMockDispose Method (Boolean) |
Handles disposal of managed and unmanaged resources.
Namespace:
Autofac.Extras.Moq
Assembly:
Autofac.Extras.Moq (in Autofac.Extras.Moq.dll) Version: 6.0.0+4195b730a1f4c2330f7a6e7642c9ad63581968b7
Syntax protected virtual void Dispose(
bool disposing
)
Protected Overridable Sub Dispose (
disposing As Boolean
)
Parameters
- disposing
- Type: SystemBoolean
to dispose of managed resources (during a manual execution
of Dispose); or
if this is getting run as part of finalization where
managed resources may have already been cleaned up.
See Also