2 writes to _model
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
TemplateBuilder.cs (2)
55_model = modelExplorer.Model; 63_model = null;
7 references to _model
Microsoft.AspNetCore.Mvc.ViewFeatures (7)
TemplateBuilder.cs (7)
61if (_metadata.ConvertEmptyStringToNull && string.Empty.Equals(_model)) 78viewData.ModelExplorer = _modelExplorer.GetExplorerForModel(_model); 84var formattedModelValue = _model; 85if (_model == null) 94formattedModelValue = string.Format(CultureInfo.CurrentCulture, formatString, _model); 102else if (viewData.ModelMetadata.IsEnum && _model is Enum modelEnum) 130var visitedObjectsKey = _model ?? _modelExplorer.ModelType;