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

Function typeToClassName

scripts/codegen/csharp.ts:240–242  ·  view source on GitHub ↗
(typeName: string)

Source from the content-addressed store, hash-verified

238}
239
240function typeToClassName(typeName: string): string {
241 return splitCSharpIdentifierParts(typeName).map(toPascalCasePart).join("");
242}
243
244function splitCSharpIdentifierParts(value: string): string[] {
245 return value.split(/[^A-Za-z0-9]+/).filter(Boolean);

Callers 10

extractEventVariantsFunction · 0.85
resultTypeNameFunction · 0.85
getCSharpSchemaTypeNameFunction · 0.85
resolvedResultTypeNameFunction · 0.85
paramsTypeNameFunction · 0.85
resolveRpcTypeFunction · 0.85
generateRpcCodeFunction · 0.85
generateRpcFunction · 0.85

Calls 2

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…