MethodMatches 🚿

This commit is contained in:
Alexej Timonin 2018-10-02 20:49:46 +02:00 committed by Pranav K
parent a48e75dfb4
commit 70ddf15cbc
1 changed files with 1 additions and 6 deletions

View File

@ -15,12 +15,7 @@ namespace Microsoft.AspNetCore.Mvc.ApiExplorer
bool MethodMatches()
{
var methodNameMatchBehavior = GetNameMatchBehavior(conventionMethod);
if (!IsNameMatch(methodInfo.Name, conventionMethod.Name, methodNameMatchBehavior))
{
return false;
}
return true;
return IsNameMatch(methodInfo.Name, conventionMethod.Name, methodNameMatchBehavior);
}
bool ParametersMatch()