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

Feature: Create a new methods for generate csv file from List<T> #9

Open
mr54ndm4n opened this issue Oct 4, 2018 · 3 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest

Comments

@mr54ndm4n
Copy link
Owner

mr54ndm4n commented Oct 4, 2018

Create a methods for generate csv file from List; T is any object.
Input: A List of any object
output: Csv file

Methods:

public void Groot.CreateCsvFromList<T>(List<T> objList, string filePath)

Csv file requirement:

  • have a header row
  • for the header row use GrootField's name (custom-attributes) if available else use property's name
  • use " " wrap a string value if contain ","(comma)
  • ignore new line in string value
  • create a unit-test inside GrootUnitTest with code coverage >= 80% (you can see coverage report on pull request as well)

Comment below if you want to take it.

Enjoy! Happy Hacktoberfest 🍺

@mr54ndm4n mr54ndm4n added enhancement New feature or request good first issue Good for newcomers Hacktoberfest labels Oct 4, 2018
@oat9002
Copy link
Contributor

oat9002 commented Oct 4, 2018

I'm on it

@mr54ndm4n
Copy link
Owner Author

@oat9002 awesome 😃

@marce1994
Copy link

Im watching this, i want to do it too 🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants