Skip to content

Added functionality to CSharpGenerator to create an enum with the messageIDs#20

Open
jonathancurrie wants to merge 4 commits intodsuarezv:masterfrom
jonathancurrie:master
Open

Added functionality to CSharpGenerator to create an enum with the messageIDs#20
jonathancurrie wants to merge 4 commits intodsuarezv:masterfrom
jonathancurrie:master

Conversation

@jonathancurrie
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Owner

@dsuarezv dsuarezv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK, please add these minor changes and I'll merge.

if (m.Description != null)
{
escapedEnum.Add(string.Format("\r\n\r\n /// <summary> {0} </summary>\r\n {1} = {2}",
GetSanitizedComment(m.Description),
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indent

escapedEnum.Add(string.Format("\r\n\r\n        /// <summary> {0} </summary>\r\n        {1} = {2}",
    GetSanitizedComment(m.Description),
    GetClassName(m),
    m.Id));

else
{
escapedEnum.Add(string.Format("\r\n\r\n {0} = {1}",
GetClassName(m),
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants