Share via


ILivingObjectDiagnostics<T> Interface

Definition

Helper class to check if an object of Type T is considered to be collected or not and to get a quick preview of the object. Implementers of this class are not allowed to have state, otherwise they will cause a leak. Only one static object per type T of the implementation should ever exist.

generic <typename T>
 where T : classpublic interface class ILivingObjectDiagnostics
public interface ILivingObjectDiagnostics<T> where T : class
type ILivingObjectDiagnostics<'T (requires 'T : null)> = interface
Public Interface ILivingObjectDiagnostics(Of T)

Type Parameters

T

Methods

GetDescription(T)
GetPreview(T)
HasProbablyLeaked(T)

This method may require UI thread access depending on the implementation

Applies to