Table of Contents

Interface ISmartPointer

Namespace
Ecng.Common
Assembly
Ecng.Common.dll

Represents a smart pointer that uses reference counting to manage resource lifetimes.

public interface ISmartPointer : IDisposable
Inherited Members
Extension Methods

Properties

Counter

Gets the current reference counter.

int Counter { get; }

Property Value

int

Methods

DecRef()

Decrements the reference counter.

void DecRef()

IncRef()

Increments the reference counter.

void IncRef()