2 writes to TypeName
Microsoft.AspNetCore.Components.WebAssembly (2)
_generated\7\WebAssemblyJsonSerializerContext.ComponentParameter.g.cs (1)
83
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentParameter>(obj).
TypeName
= value!,
src\aspnetcore\src\Shared\Components\ComponentParameter.cs (1)
24
TypeName
= valueType?.FullName,
12 references to TypeName
Microsoft.AspNetCore.Components.WebAssembly (12)
_generated\7\WebAssemblyJsonSerializerContext.ComponentParameter.g.cs (2)
82
Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentParameter)obj).
TypeName
,
129
string __value_TypeName = ((global::Microsoft.AspNetCore.Components.ComponentParameter)value).
TypeName
;
Prerendering\WebAssemblyComponentParameterDeserializer.cs (8)
46
if (definition.
TypeName
== null && definition.Assembly == null)
50
else if (definition.
TypeName
== null || definition.Assembly == null)
52
throw new InvalidOperationException($"The parameter definition for '{definition.Name}' is incomplete: Type='{definition.
TypeName
}' Assembly='{definition.Assembly}'.");
54
else if (definition.
TypeName
== typeof(SerializedRenderFragment).FullName
67
throw new InvalidOperationException($"Could not parse the parameter value for parameter '{definition.Name}' of type '{definition.
TypeName
}' and assembly '{definition.Assembly}'.", e);
72
var parameterType = _parametersCache.GetParameterType(definition.Assembly, definition.
TypeName
);
75
throw new InvalidOperationException($"The parameter '{definition.Name}' with type '{definition.
TypeName
}' in assembly '{definition.Assembly}' could not be found.");
107
throw new InvalidOperationException($"Could not parse the parameter value for parameter '{definition.Name}' of type '{definition.
TypeName
}' and assembly '{definition.Assembly}'.", e);
src\aspnetcore\src\Components\Shared\src\WebRootComponentParameters.cs (2)
42
!string.Equals(definition.
TypeName
, otherDefinition.
TypeName
, StringComparison.Ordinal) ||