Skip to content

ReactiveCollectionViewController.Dispose(bool) method

Defined in

Type: ReactiveCollectionViewController Namespace: ReactiveUI Assembly: ReactiveUI.dll

Applies to

net11.0-ios27.2, net11.0-maccatalyst27.2, net11.0-tvos27.2, net10.0-maccatalyst26.0, net10.0-ios26.0, net10.0-tvos26.0

protected override void Dispose(bool disposing)

View source

Inherited documentation

These docs were inherited from UIViewController. The member doesn't override them on this type.

Summary: Releases the resources used by this object.

Parameters

NameTypeDescription
disposingboolIf set to true, the method is invoked directly and disposes managed and unmanaged resources. If set to false, the method is called by the garbage collector finalizer and should only release unmanaged resources.

Remarks

This method releases the resources used by this class.

This method is called by both the Dispose method and the object finalizer (Finalize). When invoked by the Dispose method, the disposing parameter is set to true and any managed object references that this object holds are also disposed or released. When invoked by the object finalizer, on the finalizer thread, the disposing parameter is set to false.

Calling the Dispose method when the application is finished using this instance ensures that all external resources used by this managed object are released as soon as possible. Once developers have invoked the Dispose method, the object is no longer useful and developers should no longer make any calls to it.