Click or drag to resize

Disposable Class

Defines methods to release allocated resources and to check whether this resource has been disposed.
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.ToolsDisposable
    More...

Namespace:  SampSharp.GameMode.Tools
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public abstract class Disposable : IDisposable

The Disposable type exposes the following members.

Constructors
  NameDescription
Protected methodDisposable
Initializes a new instance of the Disposable class
Top
Properties
  NameDescription
Public propertyIsDisposed
Gets whether this resource has been disposed.
Top
Methods
  NameDescription
Protected methodAssertNotDisposed
Checks whether this instance has been disposed. If it has, it throws an exception.
Public methodDispose
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the Disposable class.
(Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when this isntance has been disposed.
Top
See Also
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.ToolsDisposable
    SampSharp.GameModeBaseMode
    SampSharp.GameMode.ControllersBasePlayerController
    SampSharp.GameMode.ControllersBaseVehicleController
    SampSharp.GameMode.ControllersControllerCollection
    SampSharp.GameMode.ControllersGlobalObjectController
    SampSharp.GameMode.ControllersPickupController
    SampSharp.GameMode.ControllersPlayerObjectController
    SampSharp.GameMode.ControllersPlayerTextDrawController
    SampSharp.GameMode.ControllersTextDrawController
    SampSharp.GameMode.PoolsIdentifiedOwnedPoolTInstance, TOwner
    SampSharp.GameMode.PoolsIdentifiedPoolTInstance
    SampSharp.GameMode.PoolsPoolTInstance
    SampSharp.GameMode.SAMPTimer