2 instantiations of ComponentParameter
Microsoft.AspNetCore.Components.WebAssembly (2)
src\Shared\Components\ComponentParameter.cs (1)
21
parameterDefinitions.Add(new
ComponentParameter
WebAssemblyJsonSerializerContext.ComponentParameter.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.AspNetCore.Components.
ComponentParameter
(),
49 references to ComponentParameter
Microsoft.AspNetCore.Components.WebAssembly (49)
Infrastructure\WebAssemblyJsonSerializerContext.cs (1)
15
[JsonSerializable(typeof(
ComponentParameter
[]))]
Prerendering\WebAssemblyComponentParameterDeserializer.cs (4)
24
public ParameterView DeserializeParameters(IList<
ComponentParameter
> parametersDefinitions, IList<object> parameterValues)
36
var
definition = parametersDefinitions[i];
77
[DynamicDependency(JsonSerialized, typeof(
ComponentParameter
))]
79
public static
ComponentParameter
[] GetParameterDefinitions(string parametersDefinitions)
src\Components\Shared\src\WebRootComponentParameters.cs (4)
10
IReadOnlyList<
ComponentParameter
> parameterDefinitions,
16
private readonly IReadOnlyList<
ComponentParameter
> _parameterDefinitions = parameterDefinitions;
39
var
definition = _parameterDefinitions[i];
40
var
otherDefinition = other._parameterDefinitions[i];
src\Shared\Components\ComponentParameter.cs (2)
14
public static (IList<
ComponentParameter
> parameterDefinitions, IList<object?> parameterValues) FromParameterView(ParameterView parameters)
16
var parameterDefinitions = new List<
ComponentParameter
>();
WebAssemblyJsonSerializerContext.ComponentParameter.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
>? _ComponentParameter;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
> ComponentParameter
22
get => _ComponentParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
> Create_ComponentParameter(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.
ComponentParameter
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.
ComponentParameter
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
).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.
ComponentParameter
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ComponentParameter
)obj).Name,
59
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ComponentParameter
>(obj).Name = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
),
80
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ComponentParameter
)obj).TypeName,
81
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ComponentParameter
>(obj).TypeName = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
).GetProperty("TypeName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
),
100
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ComponentParameter
)obj).Assembly,
101
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ComponentParameter
>(obj).Assembly = value!,
108
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
).GetProperty("Assembly", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
118
private void ComponentParameterSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.
ComponentParameter
value)
122
string __value_Name = ((global::Microsoft.AspNetCore.Components.
ComponentParameter
)value).Name;
127
string __value_TypeName = ((global::Microsoft.AspNetCore.Components.
ComponentParameter
)value).TypeName;
132
string __value_Assembly = ((global::Microsoft.AspNetCore.Components.
ComponentParameter
)value).Assembly;
WebAssemblyJsonSerializerContext.ComponentParameterArray.g.cs (10)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
[]>? _ComponentParameterArray;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
[]> ComponentParameterArray
22
get => _ComponentParameterArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
[]>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
[]));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
[]> Create_ComponentParameterArray(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.
ComponentParameter
[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
[]> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.AspNetCore.Components.
ComponentParameter
[]>
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Microsoft.AspNetCore.Components.
ComponentParameter
>(options, info);
45
private void ComponentParameterArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.
ComponentParameter
[]? value)
WebAssemblyJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
38
if (type == typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
))
42
if (type == typeof(global::Microsoft.AspNetCore.Components.
ComponentParameter
[]))