Summary
Create an non-owning non-clonable reference to an item.
- Namespace
- Avalonia
.Utilities - Containing Type
- RefCountable
Syntax
public static IRef<T> CreateUnownedNotClonable<T>(T item) where T : class
Type Parameters
Name | Description |
---|---|
T | The type of item. |
Parameters
Name | Type | Description |
---|---|---|
item | T | The item. |
Return Value
Type | Description |
---|---|
IRef |
A temporary reference that cannot be cloned that doesn't own the element. |