NavigationOwnership enum

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public enum NavigationOwnership

Whether the navigator owns an entry's content.

Remarks

This set is open: a minor release may add ownership kinds, so handle unknown values, for example with a default arm.

Values

Owned

Owned = 0

The navigator forgets and disposes the content when the entry retires.

Borrowed

Borrowed = 1

The caller or a container owns the content; retiring only drops the reference.

Shared

Shared = 2

The entry holds the content together with the other entries of its navigator that hold it (NavigationTarget.Share). The navigator forgets and disposes the content when the last of them retires.