-
Notifications
You must be signed in to change notification settings - Fork 0
Fix #7 : Export to excel for selected TaggedValue #8
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
Fix #7 : Export to excel for selected TaggedValue #8
Conversation
| foreach (var taggedValueToExport in taggedValuesToExport) | ||
| { | ||
| this.ExportableValues[taggedValueToExport] = element.TaggedValues.TryGetValue(taggedValueToExport, out var existingValue) | ||
| ? string.Join("\n", existingValue.Select(x => x.Value)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be instead of \n the `Environment.Newline?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed and tested
| }); | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add newline at the end of each file. We had this rule earlier and it got removed. There is good reason to make diffs more readible when using git and git extensions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A new line is already present on each file, just the Tests.csproj one that missed it
lxatstariongroup
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice code again, Antoine!
EA-ModelKit/App.cs
Outdated
| private static Assembly CurrentDomainOnAssemblyResolve(object sender, ResolveEventArgs args) | ||
| { | ||
| var folderPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); | ||
| var folderPath = Path.GetDirectoryName(typeof(App).Assembly.Location); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For performance, this result could be stored in a private static field. Not a reason to stop landing.
|



Prerequisites
Description
Fix #7