1
Generate Enums starting at 1 for the base index
Question asked by Scott Zrubek - 6/1/2022 at 6:24 PM
Answered
We have a number of enums in our XSD and would like to generate the code so that it appears like this:

       /// <summary>Represents the value 'bigEndian' in the XML</summary>
        [LxEnumValue("bigEndian")]
        BigEndian = 1,
        /// <summary>Represents the value 'littleEndian' in the XML</summary>
        [LxEnumValue("littleEndian")]
        LittleEndian = 2,

instead of

       /// <summary>Represents the value 'bigEndian' in the XML</summary>
        [LxEnumValue("bigEndian")]
        BigEndian,
        /// <summary>Represents the value 'littleEndian' in the XML</summary>
        [LxEnumValue("littleEndian")]
        LittleEndian,

is this possible?

1 Reply

Reply to Thread
0
Liquid Support Replied
Employee Post Marked As Answer
Sorry no.

Reply to Thread