2 instantiations of JSComponentParameter
Microsoft.AspNetCore.Components.Web (2)
JSComponents\JSComponentConfigurationStore.cs (1)
35parameters[index++] = new JSComponentParameter(name, type.Type);
WebRendererSerializerContext.JSComponentParameter.g.cs (1)
31ObjectCreator = () => new global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter(),
49 references to JSComponentParameter
Microsoft.AspNetCore.Components.Web (49)
JSComponents\JSComponentConfigurationStore.cs (3)
25internal Dictionary<string, JSComponentParameter[]> JSComponentParametersByIdentifier { get; } = new(StringComparer.Ordinal); 31var parameters = new JSComponentParameter[parameterTypes.Count]; 51[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(JSComponentParameter))]
WebRenderer.cs (1)
188[JsonSerializable(typeof(Dictionary<string, JSComponentConfigurationStore.JSComponentParameter[]>))]
WebRendererSerializerContext.DictionaryStringJSComponentParameterArray.g.cs (13)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>>? _DictionaryStringJSComponentParameterArray; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>> DictionaryStringJSComponentParameterArray 22get => _DictionaryStringJSComponentParameterArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>> Create_DictionaryStringJSComponentParameterArray(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>> 31ObjectCreator = () => new global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>, string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>(options, info); 45private void DictionaryStringJSComponentParameterArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>? value) 55foreach (global::System.Collections.Generic.KeyValuePair<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]> entry in value)
WebRendererSerializerContext.GetJsonTypeInfo.g.cs (3)
22if (type == typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter)) 26if (type == typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[])) 30if (type == typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>))
WebRendererSerializerContext.JSComponentParameter.g.cs (19)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter>? _JSComponentParameter; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter> JSComponentParameter 22get => _JSComponentParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter> Create_JSComponentParameter(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter), 58Getter = static obj => ((global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter)obj).Name, 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 77DeclaringType = typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter), 79Getter = static obj => ((global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter)obj).Type, 87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98private void JSComponentParameterSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter value) 102writer.WriteString(PropName_Name, ((global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter)value).Name); 103writer.WriteString(PropName_Type, ((global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter)value).Type);
WebRendererSerializerContext.JSComponentParameterArray.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>? _JSComponentParameterArray; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]> JSComponentParameterArray 22get => _JSComponentParameterArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[])); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]> Create_JSComponentParameterArray(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]> 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter>(options, info); 45private void JSComponentParameterArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter[]? value)