parent
6498c89f88
commit
bca3160190
|
|
@ -31,15 +31,11 @@ namespace Microsoft.AspNetCore.Mvc
|
||||||
/// <param name="actionContext">The <see cref="ActionContext"/> to copy.</param>
|
/// <param name="actionContext">The <see cref="ActionContext"/> to copy.</param>
|
||||||
public ActionContext(ActionContext actionContext)
|
public ActionContext(ActionContext actionContext)
|
||||||
: this(
|
: this(
|
||||||
actionContext.HttpContext,
|
actionContext?.HttpContext,
|
||||||
actionContext.RouteData,
|
actionContext?.RouteData,
|
||||||
actionContext.ActionDescriptor,
|
actionContext?.ActionDescriptor,
|
||||||
actionContext.ModelState)
|
actionContext?.ModelState)
|
||||||
{
|
{
|
||||||
if (actionContext == null)
|
|
||||||
{
|
|
||||||
throw new ArgumentNullException(nameof(actionContext));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue