Table of Contents

Class DisposeBase

Namespace
Stride.Core
Assembly
Stride.Core.dll

Base class for a IDisposable interface.

[DataContract]
public abstract class DisposeBase : IDisposable, IReferencable
Inheritance
DisposeBase
Implements
Derived
Extension Methods

Properties

IsDisposed

Has the component been disposed or not yet.

public bool IsDisposed { get; }

Property Value

bool

Methods

Destroy()

Disposes of object resources.

protected virtual void Destroy()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

OnAddReference()

protected virtual void OnAddReference()

OnReleaseReference()

protected virtual void OnReleaseReference()