Skip to content

[F] getClientLocation

Gets the Namespace, Interface, Operation or name of client where an operation / parameter change the location to.

TCGCContext

Operation or parameter to be moved

function getClientLocation(context, input): string | Interface | Namespace | undefined;

Gets the Namespace, Interface or name of client where an operation changes location to.

ParameterType
contextTCGCContext
inputOperation

string | Interface | Namespace | undefined

function getClientLocation(context, input): Interface | Namespace | Operation | undefined;

Gets the Namespace, Interface, Operation where a parameter changes location to.

ParameterType
contextTCGCContext
inputModelProperty

Interface | Namespace | Operation | undefined