We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500a8e0 commit 453d464Copy full SHA for 453d464
Source/Boxed.AspNetCore/WebHostBuilderExtensions.cs
@@ -57,6 +57,11 @@ public static IWebHostBuilder UseIf(
57
throw new ArgumentNullException(nameof(hostBuilder));
58
}
59
60
+ if (condition == null)
61
+ {
62
+ throw new ArgumentNullException(nameof(condition));
63
+ }
64
+
65
if (action == null)
66
{
67
throw new ArgumentNullException(nameof(action));
@@ -136,6 +141,11 @@ public static IWebHostBuilder UseIfElse(
136
141
137
142
138
143
144
145
146
147
148
139
149
if (ifAction == null)
140
150
151
throw new ArgumentNullException(nameof(ifAction));
0 commit comments