MatchesLogicalStructure(ILogical, Type[]) Method

Definition

Assembly HeadlessTestingFramework.dll

Checks if the logical tree structure matches expected types at each level.

public static bool MatchesLogicalStructure(this ILogical logical, params Type[] expectedPath)

Parameters

logical
Avalonia.LogicalTree.ILogical

The starting logical.

expectedPath
Type[]

The expected types from this logical downward.

Returns

Boolean
True if the tree structure matches.