Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,6 @@
<ItemGroup>
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" Key="$(MoqPublicKey)" />
</ItemGroup>


</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ private DefaultWebAssemblyJSRuntime()
JsonSerializerOptions.Converters.Add(new ElementReferenceJsonConverter(ElementReferenceContext));
}

[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(KeyValuePair<,>))]
public JsonSerializerOptions ReadJsonSerializerOptions() => JsonSerializerOptions;

[JSExport]
Expand Down
Loading