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