This repository was archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #4929 - Move IActionInvokerFactory from .Internal
Also added a wealth of doc comments to an area that's not currently super well documented.
- Loading branch information
Showing
4 changed files
with
68 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/Microsoft.AspNetCore.Mvc.Core/Infrastructure/IActionInvokerFactory.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using Microsoft.AspNetCore.Mvc.Abstractions; | ||
|
||
namespace Microsoft.AspNetCore.Mvc.Infrastructure | ||
{ | ||
/// <summary> | ||
/// Defines an interface for creating an <see cref="IActionInvoker"/> for the current request. | ||
/// </summary> | ||
/// <remarks> | ||
/// The default <see cref="IActionInvokerFactory"/> implementation creates an <see cref="IActionInvoker"/> by | ||
/// calling into each <see cref="IActionInvokerProvider"/>. See <see cref="IActionInvokerProvider"/> for more | ||
/// details. | ||
/// </remarks> | ||
public interface IActionInvokerFactory | ||
{ | ||
/// <summary> | ||
/// Creates an <see cref="IActionInvoker"/> for the current request associated with | ||
/// <paramref name="actionContext"/>. | ||
/// </summary> | ||
/// <param name="actionContext"> | ||
/// The <see cref="ActionContext"/> associated with the current request. | ||
/// </param> | ||
/// <returns>An <see cref="IActionInvoker"/> or <c>null</c>.</returns> | ||
IActionInvoker CreateInvoker(ActionContext actionContext); | ||
} | ||
} |
12 changes: 0 additions & 12 deletions
12
src/Microsoft.AspNetCore.Mvc.Core/Internal/IActionInvokerFactory.cs
This file was deleted.
Oops, something went wrong.