AncestorsAsync<TModel>(INodeViewModel, Func<TModel, bool>)

public static ValueTask<IReadOnlyList<INodeViewModel<TModel>>> AncestorsAsync<TModel>(INodeViewModel model, Func<TModel, bool> filter)
Returns:
ValueTask<IReadOnlyList<INodeViewModel<TModel>>>

Parameters

filter Func<TModel, bool>

Type Parameters

TModel

AncestorsAsync(INodeViewModel, Func<dynamic, bool>)

public static ValueTask<IReadOnlyList<INodeViewModel<dynamic>>> AncestorsAsync(INodeViewModel model, Func<dynamic, bool> filter)
Returns:
ValueTask<IReadOnlyList<INodeViewModel<dynamic>>>

Parameters

filter Func<dynamic, bool>
In this article