MCPcopy Index your code
hub / github.com/github/copilot-sdk / resultTypeName

Function resultTypeName

scripts/codegen/csharp.ts:1450–1452  ·  view source on GitHub ↗
(method: RpcMethod)

Source from the content-addressed store, hash-verified

1448}
1449
1450function resultTypeName(method: RpcMethod): string {
1451 return getCSharpSchemaTypeName(getMethodResultSchema(method), `${typeToClassName(method.rpcMethod)}Result`);
1452}
1453
1454function getCSharpSchemaTypeName(schema: JSONSchema7 | null | undefined, fallback: string): string {
1455 if (schema?.$ref) return typeToClassName(refTypeName(schema.$ref, rpcDefinitions));

Callers 5

resolvedResultTypeNameFunction · 0.70
emitServerInstanceMethodFunction · 0.70
emitSessionMethodFunction · 0.70

Calls 3

getCSharpSchemaTypeNameFunction · 0.85
typeToClassNameFunction · 0.85
getMethodResultSchemaFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…