Show / Hide Table of Contents

Interface IReferenceCounting

Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public interface IReferenceCounting

Properties

| Edit this page View Source

ActiveReferenceCount

Gets the amount of currently registered referencing objects.

Declaration
int ActiveReferenceCount { get; }
Property Value
Type Description
int

Methods

| Edit this page View Source

AddReferencingObject(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.

| Edit this page View Source

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.

Extension Methods

ReferenceCountingExtension.HasActiveReferences(IReferenceCounting)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX