MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / export_impl_name

Method export_impl_name

crates/csharp/src/function.rs:2155–2165  ·  view source on GitHub ↗

Returns the name of the exported implementation of this resource. The result is only valid if the resource is actually being exported by the world.

(&self)

Source from the content-addressed store, hash-verified

2153 ///
2154 /// The result is only valid if the resource is actually being exported by the world.
2155 fn export_impl_name(&self) -> String {
2156 format!(
2157 "{}Impl.{}",
2158 CSharp::get_class_name_from_qualified_name(&self.module)
2159 .1
2160 .strip_prefix("I")
2161 .unwrap()
2162 .to_upper_camel_case(),
2163 self.name.to_upper_camel_case()
2164 )
2165 }
2166}

Callers 1

emitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected