MethodMatches 🚿
This commit is contained in:
parent
a48e75dfb4
commit
70ddf15cbc
|
|
@ -15,12 +15,7 @@ namespace Microsoft.AspNetCore.Mvc.ApiExplorer
|
||||||
bool MethodMatches()
|
bool MethodMatches()
|
||||||
{
|
{
|
||||||
var methodNameMatchBehavior = GetNameMatchBehavior(conventionMethod);
|
var methodNameMatchBehavior = GetNameMatchBehavior(conventionMethod);
|
||||||
if (!IsNameMatch(methodInfo.Name, conventionMethod.Name, methodNameMatchBehavior))
|
return IsNameMatch(methodInfo.Name, conventionMethod.Name, methodNameMatchBehavior);
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ParametersMatch()
|
bool ParametersMatch()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue