MCPcopy Create free account
hub / github.com/apache/fory / csharp_namespace_for_schema

Function csharp_namespace_for_schema

compiler/fory_compiler/generators/csharp.py:130–136  ·  view source on GitHub ↗
(schema: Schema)

Source from the content-addressed store, hash-verified

128
129
130def csharp_namespace_for_schema(schema: Schema) -> str:
131 value = schema.get_option("csharp_namespace")
132 if value:
133 return str(value)
134 if schema.package:
135 return schema.package
136 return "generated"
137
138
139def csharp_module_file_name(schema: Schema) -> str:

Callers 4

csharp_output_pathsFunction · 0.85
get_csharp_namespaceMethod · 0.85

Calls 1

get_optionMethod · 0.80

Tested by

no test coverage detected