File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Components/Endpoints/src/Results Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public RazorComponentResult([DynamicallyAccessedMembers(Component)] Type compone
3535 public RazorComponentResult (
3636 [ DynamicallyAccessedMembers ( Component ) ] Type componentType ,
3737 [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] object parameters )
38- : this ( componentType , CoerceParametersObjectToDictionary ( parameters ) ! )
38+ : this ( componentType , CoerceParametersObjectToDictionary ( parameters ) )
3939 {
4040 }
4141
@@ -55,7 +55,7 @@ public RazorComponentResult([DynamicallyAccessedMembers(Component)] Type compone
5555 Parameters = parameters ?? EmptyParameters ;
5656 }
5757
58- private static IReadOnlyDictionary < string , object ? > ? CoerceParametersObjectToDictionary ( object ? parameters )
58+ private static IReadOnlyDictionary < string , object ? > CoerceParametersObjectToDictionary ( object ? parameters )
5959 => parameters is null
6060 ? throw new ArgumentNullException ( nameof ( parameters ) )
6161 : ( IReadOnlyDictionary < string , object ? > ) PropertyHelper . ObjectToDictionary ( parameters ) ;
You can’t perform that action at this time.
0 commit comments