Summary
A ref-counted wrapper for a disposable object.
- Namespace
- Avalonia
.Utilities - Interfaces
-
- IDisposable
graph BT
Type-.->Interface0["IDisposable"]
Type["IRef<T>"]
class Type type-node
Syntax
public interface IRef<out T> : IDisposable where T : class
Type Parameters
Name | Description |
---|---|
T |
Properties
Methods
Name | Value | Summary |
---|---|---|
Clone |
IRef |
Create another reference to this object and increment the refcount.
|
CloneAs |
IRef |
Create another reference to the same object, but cast the object to a different type.
|