Class AbstractReferenceCounting
Implements
Inherited Members
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public abstract class AbstractReferenceCounting : IReferenceCounting
Properties
| Edit this page View SourceActiveReferenceCount
Gets the amount of currently registered referencing objects.
Declaration
public int ActiveReferenceCount { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceAddReferencingObject(object)
Adds the given object to the list of referencing objects.
Declaration
public void AddReferencingObject(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to add. |
RemoveReferencingObject(object)
Removes the given object from the list of referencing objects.
Declaration
public void RemoveReferencingObject(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to remove. |