Table of Contents

Class DisposableSystem

Namespace
SampSharp.Entities
Assembly
SampSharp.OpenMp.Entities.dll

Represents a base type for systems that contain disposable objects.

public abstract class DisposableSystem : ISystem, IDisposable
Inheritance
DisposableSystem
Implements
Inherited Members

Constructors

DisposableSystem()

protected DisposableSystem()

Methods

AddDisposable(IDisposable?)

Adds a disposable object to the list of objects to dispose when this system is disposed.

protected void AddDisposable(IDisposable? disposable)

Parameters

disposable IDisposable

The disposable object to add.

Dispose()

public void Dispose()

OnDispose()

A method that is called when this system is disposed.

protected virtual void OnDispose()