io.vrap.codegen.languages.csharp.extensions.CsharpStringExentsions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of csharp Show documentation
Show all versions of csharp Show documentation
RAML API client code generators based on the REST Modeling Framework. https://github.com/vrapio/rest-modeling-framework
The newest version!
package io.vrap.codegen.languages.csharp.extensions
import io.vrap.rmf.raml.model.util.StringCaseFormat
/**
* Returns this string as standard C# enum name.
*/
fun String.enumValueName(): String {
return StringCaseFormat.UPPER_CAMEL_CASE.apply(this)
}
fun String.upperCamelCase() : String {
return StringCaseFormat.UPPER_CAMEL_CASE.apply(this)
}
fun String.lowerCamelCase() : String {
return StringCaseFormat.LOWER_CAMEL_CASE.apply(this)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy