Skip to content

Commit

Permalink
Make BindFile(s) public (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchannon authored May 18, 2024
1 parent 094f111 commit 6b4f683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Carter/ModelBinding/BindExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private static async Task<IEnumerable<IFormFile>> BindFiles(this HttpRequest req
/// </summary>
/// <param name="request">Current <see cref="HttpRequest"/></param>
/// <returns><see cref="IEnumerable{IFormFile}"/></returns>
private static Task<IEnumerable<IFormFile>> BindFiles(this HttpRequest request)
public static Task<IEnumerable<IFormFile>> BindFiles(this HttpRequest request)
{
return request.BindFiles(returnOnFirst: false);
}
Expand All @@ -51,7 +51,7 @@ private static Task<IEnumerable<IFormFile>> BindFiles(this HttpRequest request)
/// </summary>
/// <param name="request">Current <see cref="HttpRequest"/></param>
/// <returns><see cref="IFormFile"/></returns>
private static async Task<IFormFile> BindFile(this HttpRequest request)
public static async Task<IFormFile> BindFile(this HttpRequest request)
{
var files = await request.BindFiles(returnOnFirst: true);

Expand Down

0 comments on commit 6b4f683

Please sign in to comment.