1 write to PropertyType
Microsoft.AspNetCore.Components (1)
CascadingParameterInfo.cs (1)
30
PropertyType
= propertyType;
9 references to PropertyType
Microsoft.AspNetCore.Components (3)
CascadingValue.cs (1)
131
if (parameterInfo.Attribute is not CascadingParameterAttribute cascadingParameterAttribute || !parameterInfo.
PropertyType
.IsAssignableFrom(typeof(TValue)))
CascadingValueSource.cs (1)
141
if (parameterInfo.Attribute is not CascadingParameterAttribute cascadingParameterAttribute || !parameterInfo.
PropertyType
.IsAssignableFrom(typeof(TValue)))
Routing\SupplyParameterFromQueryValueProvider.cs (1)
32
return _queryParameterValueSupplier.GetQueryParameterValue(parameterInfo.
PropertyType
, queryParameterName);
Microsoft.AspNetCore.Components.Tests (1)
CascadingParameterTest.cs (1)
1047
parameterInfo.
PropertyType
!= typeof(object) ||
Microsoft.AspNetCore.Components.Web (5)
Forms\Editor.cs (1)
57
parameterInfo.
PropertyType
== typeof(HtmlFieldPrefix);
Forms\Mapping\SupplyParameterFromFormValueProvider.cs (4)
35
if (parameterInfo.Attribute is CascadingParameterAttribute && parameterInfo.
PropertyType
== typeof(FormMappingContext))
43
return _formValueMapper.CanMap(parameterInfo.
PropertyType
, MappingScopeName, supplyParameterFromFormAttribute.FormName);
52
if (parameterInfo.Attribute is CascadingParameterAttribute && parameterInfo.
PropertyType
== typeof(FormMappingContext))
83
var context = new FormValueMappingContext(mappingContext.MappingScopeName, restrictToFormName, parameterInfo.
PropertyType
, parameterName)