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