TemplateInfo.Visited(ModelExplorer) Method

Definition

Checks if a model has been visited already.

C#
public bool Visited (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer);

Parameters

modelExplorer
ModelExplorer

The ModelExplorer.

Returns

Whether the model has been visited.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0