Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpGetStreamResult{T}"/> class.
 /// </summary>
 /// <param name="controller">The controller.</param>
 public HttpGetStreamResult(ControllerBase controller)
     : base(controller)
 {
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpPutResult{T}" /> class.
 /// </summary>
 /// <param name="controller">The controller.</param>
 /// <param name="locationUrlAction">The <see cref="IActionResult" /> action method which route <see cref="URL" /> is required to be presented in the header of the <see cref="HTTP" /> method.</param>
 public HttpPutResult(ControllerBase controller, Func <Guid, Task <IActionResult> > locationUrlAction)
     : base(controller)
 {
     this.locationUrlAction = locationUrlAction;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpMethodResult"/> class.
 /// </summary>
 /// <param name="controller">The controller.</param>
 protected HttpMethodResult(ControllerBase controller)
 {
     this.Controller = controller;
 }