RootAsync<TModel>(INodeViewModel)
Returns the view model for the root node of the current node.
public static ValueTask<INodeViewModel<TModel>> RootAsync<TModel>(INodeViewModel model)
- Returns:
- ValueTask<INodeViewModel<TModel>>
Parameters
model
INodeViewModel
The current node view model.
Type Parameters
TModel
RootAsync(INodeViewModel)
Returns the dynamic view model for the root node of the current node.
public static ValueTask<INodeViewModel<dynamic>> RootAsync(INodeViewModel model)
- Returns:
- ValueTask<INodeViewModel<dynamic>>
Parameters
model
INodeViewModel
The current node view model.