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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the Disposable class.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(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