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)
- C#
- VB
- F#
public interface IAvaloniaXamlIlEagerParentStackProvider : IAvaloniaXamlIlParentStackProvider
Public Interface IAvaloniaXamlIlEagerParentStackProvider
Inherits IAvaloniaXamlIlParentStackProvider
type IAvaloniaXamlIlEagerParentStackProvider =
interface
interface IAvaloniaXamlIlParentStackProvider
end
Implements | IAvaloniaXamlIlParentStackProvider |
Remarks
This interface is used by the XAML compiler and shouldn't be implemented in your code.
Properties
DirectParentsStack | Gets 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. |
ParentProvider | Gets the parent IAvaloniaXamlIlEagerParentStackProvider, if available. |
Parents | Gets 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) |