Show / Hide Table of Contents

Class AbstractReferenceCounting

Inheritance
object
AbstractReferenceCounting
UpdateQueue<TIdentifier, TData>
Implements
IReferenceCounting
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public abstract class AbstractReferenceCounting : IReferenceCounting

Properties

| Edit this page View Source

ActiveReferenceCount

Gets the amount of currently registered referencing objects.

Declaration
public 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
public 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
public void RemoveReferencingObject(object obj)
Parameters
Type Name Description
object obj

The object to remove.

Implements

IReferenceCounting

Extension Methods

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