Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapLoop EdiName returning improper name #19

Open
SoCenMTB opened this issue Feb 13, 2020 · 0 comments
Open

MapLoop EdiName returning improper name #19

SoCenMTB opened this issue Feb 13, 2020 · 0 comments

Comments

@SoCenMTB
Copy link

SoCenMTB commented Feb 13, 2020

When hitting a loop, if the class name has an _# appended to the end, then the name does not match the ediName provided.

Ex., L_N1_1's EdiName would be N1_1 which won't match N1 when checking List inside ProcessRawSegment for the EdiMapReader.

Modified EdiName to be:
public override string EdiName => Name.Split('_').Length >= 2 ? Name.Split('_')[1] : Name.Remove(0, 2);

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

No branches or pull requests

1 participant