Interface IReferenceCounting
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public interface IReferenceCounting
Properties
| Edit this page View SourceActiveReferenceCount
Gets the amount of currently registered referencing objects.
Declaration
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
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
void RemoveReferencingObject(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to remove. |