2 instantiations of ComponentParameter
Microsoft.AspNetCore.Components.WebAssembly (2)
_generated\7\WebAssemblyJsonSerializerContext.ComponentParameter.g.cs (1)
31ObjectCreator = () => new global::Microsoft.AspNetCore.Components.ComponentParameter(),
src\aspnetcore\src\Shared\Components\ComponentParameter.cs (1)
21parameterDefinitions.Add(new ComponentParameter
49 references to ComponentParameter
Microsoft.AspNetCore.Components.WebAssembly (49)
_generated\21\WebAssemblyJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
38if (type == typeof(global::Microsoft.AspNetCore.Components.ComponentParameter)) 42if (type == typeof(global::Microsoft.AspNetCore.Components.ComponentParameter[]))
_generated\7\WebAssemblyJsonSerializerContext.ComponentParameter.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter>? _ComponentParameter; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter> ComponentParameter 22get => _ComponentParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.ComponentParameter)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter> Create_ComponentParameter(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.ComponentParameter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.ComponentParameter> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentParameter).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.ComponentParameter>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentParameter), 60Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentParameter)obj).Name, 61Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentParameter>(obj).Name = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentParameter).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 80DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentParameter), 82Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentParameter)obj).TypeName, 83Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentParameter>(obj).TypeName = value!, 90AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentParameter).GetProperty("TypeName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentParameter), 102Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentParameter)obj).Assembly, 103Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentParameter>(obj).Assembly = value!, 110AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentParameter).GetProperty("Assembly", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 120private void ComponentParameterSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.ComponentParameter value) 124string __value_Name = ((global::Microsoft.AspNetCore.Components.ComponentParameter)value).Name; 129string __value_TypeName = ((global::Microsoft.AspNetCore.Components.ComponentParameter)value).TypeName; 134string __value_Assembly = ((global::Microsoft.AspNetCore.Components.ComponentParameter)value).Assembly;
_generated\8\WebAssemblyJsonSerializerContext.ComponentParameterArray.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter[]>? _ComponentParameterArray; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter[]> ComponentParameterArray 22get => _ComponentParameterArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter[]>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.ComponentParameter[])); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter[]> Create_ComponentParameterArray(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.ComponentParameter[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentParameter[]> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.AspNetCore.Components.ComponentParameter[]> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Microsoft.AspNetCore.Components.ComponentParameter>(options, info); 47private void ComponentParameterArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.ComponentParameter[]? value)
Infrastructure\WebAssemblyJsonSerializerContext.cs (1)
15[JsonSerializable(typeof(ComponentParameter[]))]
Prerendering\WebAssemblyComponentParameterDeserializer.cs (4)
27public ParameterView DeserializeParameters(IList<ComponentParameter> parametersDefinitions, IList<object> parameterValues) 39var definition = parametersDefinitions[i]; 95[DynamicDependency(JsonSerialized, typeof(ComponentParameter))] 97public static ComponentParameter[] GetParameterDefinitions(string parametersDefinitions)
src\aspnetcore\src\Components\Shared\src\WebRootComponentParameters.cs (4)
10IReadOnlyList<ComponentParameter> parameterDefinitions, 16private readonly IReadOnlyList<ComponentParameter> _parameterDefinitions = parameterDefinitions; 39var definition = _parameterDefinitions[i]; 40var otherDefinition = other._parameterDefinitions[i];
src\aspnetcore\src\Shared\Components\ComponentParameter.cs (2)
14public static (IList<ComponentParameter> parameterDefinitions, IList<object?> parameterValues) FromParameterView(ParameterView parameters) 16var parameterDefinitions = new List<ComponentParameter>();