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
model
INodeViewModel
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
model
INodeViewModel
filter
Func<dynamic, bool>