C#: Rename getMethodName to getEndpointName

This commit is contained in:
Koen Vlaswinkel
2023-12-14 10:04:46 +01:00
parent e177f8783a
commit 96feb2c787
3 changed files with 4 additions and 4 deletions

View File

@@ -18,6 +18,6 @@ where
usage = aUsage(endpoint) and
type = supportedType(endpoint) and
classification = methodClassification(usage)
select usage, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getMethodName(),
select usage, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getEndpointName(),
endpoint.getParameterTypes(), supported, endpoint.dllName(), endpoint.dllVersion(), type,
classification

View File

@@ -14,5 +14,5 @@ from PublicEndpointFromSource endpoint, boolean supported, string type
where
supported = isSupported(endpoint) and
type = supportedType(endpoint)
select endpoint, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getMethodName(),
select endpoint, endpoint.getNamespace(), endpoint.getTypeName(), endpoint.getEndpointName(),
endpoint.getParameterTypes(), supported, endpoint.getFile().getBaseName(), type

View File

@@ -39,10 +39,10 @@ class Endpoint extends Callable {
}
/**
* Gets the qualified method name of this endpoint.
* Gets the qualified name of this endpoint.
*/
bindingset[this]
string getMethodName() {
string getEndpointName() {
result = qualifiedCallableName(this.getNamespace(), this.getTypeName(), this)
}