Skip to main content

IAvaloniaXamlIlEagerParentStackProvider Interface

Provides the parents for the current XAML node in an eager way, avoiding allocations when possible.

Definition

Namespace: Avalonia.Markup.Xaml.XamlIl.Runtime
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)

public interface IAvaloniaXamlIlEagerParentStackProvider : IAvaloniaXamlIlParentStackProvider
ImplementsIAvaloniaXamlIlParentStackProvider

Remarks

This interface is used by the XAML compiler and shouldn't be implemented in your code.

Properties

DirectParentsStackGets the directly available parents (which don't include ones returned by parent providers). The parents are returned in reverse order: the last element is the most direct parent while the first element is the most distant ancestor.
ParentProviderGets the parent IAvaloniaXamlIlEagerParentStackProvider, if available.
ParentsGets an enumerator iterating over the available parents in the whole hierarchy. The parents are returned in normal order: the first element is the most direct parent while the last element is the most distant ancestor.
(Inherited from IAvaloniaXamlIlParentStackProvider)

Extension Methods

AsEagerParentStackProvider()Converts a IAvaloniaXamlIlParentStackProvider into a IAvaloniaXamlIlEagerParentStackProvider.
(Defined by XamlIlRuntimeHelpers)

See Also

Reference

Avalonia.Markup.Xaml.XamlIl.Runtime Namespace