nancyfx.modelEnum.mustache Maven / Gradle / Ivy
///
/// {{^description}}Defines {{{name}}}{{/description}}{{#description}}{{description}}{{/description}}
///
{{#description}}
/// {{description}}
{{/description}}
public enum {{#datatypeWithEnum}}{{.}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}
{
{{#allowableValues}}{{#enumVars}}
///
/// Enum {{name}}
///
{{name}}{{#isInteger}} = {{{value}}}{{/isInteger}}{{^isInteger}} = {{-index}}{{/isInteger}}{{^-last}},
{{/-last}}{{/enumVars}}{{/allowableValues}}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy