12 instantiations of AcceptedAtActionResult
Microsoft.AspNetCore.Mvc.Core (1)
ControllerBase.cs (1)
2265
=> new
AcceptedAtActionResult
(actionName, controllerName, routeValues, value);
Microsoft.AspNetCore.Mvc.Core.Test (11)
AcceptedAtActionResultTests.cs (11)
27
var result = new
AcceptedAtActionResult
(actionName: actionName, controllerName: null, routeValues: null, value: null);
40
var result = new
AcceptedAtActionResult
(actionName: null, controllerName: controllerName, routeValues: null, value: null);
61
var result = new
AcceptedAtActionResult
(actionName: null, controllerName: null, routeValues: routeValues, value: null);
95
var result = new
AcceptedAtActionResult
(
110
var result = new
AcceptedAtActionResult
(actionName: null, controllerName: null, routeValues: null, value: null);
133
var result = new
AcceptedAtActionResult
(
157
var result = new
AcceptedAtActionResult
(
183
var result = new
AcceptedAtActionResult
(
205
var result = new
AcceptedAtActionResult
(actionName: null, controllerName: null, routeValues: null, value: null);
221
var result = new
AcceptedAtActionResult
(actionName: null, controllerName: null, routeValues: null, value: null);
231
var result = new
AcceptedAtActionResult
("actionName", "controllerName", "routeValues", "value");
39 references to AcceptedAtActionResult
Microsoft.AspNetCore.Mvc.Core (19)
AcceptedAtActionResult.cs (1)
22
/// Initializes a new instance of the <see cref="
AcceptedAtActionResult
"/> with the values
ControllerBase.cs (18)
2201
/// Creates an <see cref="
AcceptedAtActionResult
"/> object that produces a <see cref="StatusCodes.Status202Accepted"/> response.
2204
/// <returns>The created <see cref="
AcceptedAtActionResult
"/> for the response.</returns>
2206
public virtual
AcceptedAtActionResult
AcceptedAtAction(string? actionName)
2210
/// Creates an <see cref="
AcceptedAtActionResult
"/> object that produces a <see cref="StatusCodes.Status202Accepted"/> response.
2214
/// <returns>The created <see cref="
AcceptedAtActionResult
"/> for the response.</returns>
2216
public virtual
AcceptedAtActionResult
AcceptedAtAction(string? actionName, string? controllerName)
2220
/// Creates an <see cref="
AcceptedAtActionResult
"/> object that produces a <see cref="StatusCodes.Status202Accepted"/> response.
2224
/// <returns>The created <see cref="
AcceptedAtActionResult
"/> for the response.</returns>
2226
public virtual
AcceptedAtActionResult
AcceptedAtAction(string? actionName, [ActionResultObjectValue] object? value)
2230
/// Creates an <see cref="
AcceptedAtActionResult
"/> object that produces a <see cref="StatusCodes.Status202Accepted"/> response.
2235
/// <returns>The created <see cref="
AcceptedAtActionResult
"/> for the response.</returns>
2237
public virtual
AcceptedAtActionResult
AcceptedAtAction(string? actionName, string? controllerName, [ActionResultObjectValue] object? routeValues)
2241
/// Creates an <see cref="
AcceptedAtActionResult
"/> object that produces a <see cref="StatusCodes.Status202Accepted"/> response.
2246
/// <returns>The created <see cref="
AcceptedAtActionResult
"/> for the response.</returns>
2248
public virtual
AcceptedAtActionResult
AcceptedAtAction(string? actionName, object? routeValues, [ActionResultObjectValue] object? value)
2252
/// Creates an <see cref="
AcceptedAtActionResult
"/> object that produces a <see cref="StatusCodes.Status202Accepted"/> response.
2258
/// <returns>The created <see cref="
AcceptedAtActionResult
"/> for the response.</returns>
2260
public virtual
AcceptedAtActionResult
AcceptedAtAction(
Microsoft.AspNetCore.Mvc.Core.Test (17)
AcceptedAtActionResultTests.cs (11)
27
var
result = new AcceptedAtActionResult(actionName: actionName, controllerName: null, routeValues: null, value: null);
40
var
result = new AcceptedAtActionResult(actionName: null, controllerName: controllerName, routeValues: null, value: null);
61
var
result = new AcceptedAtActionResult(actionName: null, controllerName: null, routeValues: routeValues, value: null);
95
var
result = new AcceptedAtActionResult(
110
var
result = new AcceptedAtActionResult(actionName: null, controllerName: null, routeValues: null, value: null);
133
var
result = new AcceptedAtActionResult(
157
var
result = new AcceptedAtActionResult(
183
var
result = new AcceptedAtActionResult(
205
var
result = new AcceptedAtActionResult(actionName: null, controllerName: null, routeValues: null, value: null);
221
var
result = new AcceptedAtActionResult(actionName: null, controllerName: null, routeValues: null, value: null);
231
var
result = new AcceptedAtActionResult("actionName", "controllerName", "routeValues", "value");
ControllerBaseTest.cs (6)
1568
var
result = controller.AcceptedAtAction("SampleAction");
1571
Assert.IsType<
AcceptedAtActionResult
>(result);
1586
var
result = controller.AcceptedAtAction("SampleAction", controllerName);
1589
Assert.IsType<
AcceptedAtActionResult
>(result);
1607
var
result = controller.AcceptedAtAction(
1613
Assert.IsType<
AcceptedAtActionResult
>(result);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
ControllerUnitTestabilityTests.cs (3)
445
var
acceptedAtActionResult = Assert.IsType<
AcceptedAtActionResult
>(result);
461
acceptedAtActionResult = Assert.IsType<
AcceptedAtActionResult
>(result);