Shared |
public class SharedDXResource : DXResourceBase, ISharedDXResource, IDisposableDXResource, IDXResource, IDisposable
The SharedDXResource type exposes the following members.
Name | Description | |
---|---|---|
SharedDXResource | Initializes a new instance of the SharedDXResource class and sets ReferencesCount to 1. | |
SharedDXResource(String) | Initializes a new instance of the SharedDXResource class and sets ReferencesCount to 1. |
Name | Description | |
---|---|---|
IsDisposed | Gets a Boolean that specifies if this resource has been disposed. | |
IsDisposing | Gets a Boolean that specifies if this resources is currently being disposed (Dispose method has already been called but is not yet finished). | |
ReferencesCount | Gets an integer that specifies the references count for this resource. |
Name | Description | |
---|---|---|
AddRef | Increases reference count on this resource. | |
Dispose | Dispose method decreases the reference count of this object. When reference count gets to zero, this object is disposed. | |
DisposeAllReferences | Disposes this object regardless of the count of references. |