Created
November 28, 2018 22:38
-
-
Save bjoerntx/eed234104a696777428c14b27e019d8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reports = new List<Report>(); | |
Report report1 = new Report() | |
{ | |
Name = "Test Report", | |
RenderProducts = true, | |
Products = new List<Product>() { | |
new Product() { Name = "TX Text Control Product 1", Price = 634.34F }, | |
new Product() { Name = "TX Text Control Product 2", Price = 34.34F }, | |
} | |
}; | |
Report report2 = new Report() | |
{ | |
Name = "Test Report2", | |
RenderProducts = false, | |
Products = new List<Product>() { | |
new Product() { Name = "TX Text Control Product 1", Price = 634.34F }, | |
new Product() { Name = "TX Text Control Product 2", Price = 34.34F }, | |
} | |
}; | |
reports.Add(report1); | |
reports.Add(report2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment