Created
July 30, 2010 18:29
-
-
Save hammerdr/501071 to your computer and use it in GitHub Desktop.
Revisions
-
There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -14,4 +14,5 @@ return result; // CThoughE is a new method I created that returns IEnumerable (the utility function returned void) // createResult(ResultType, IEnumerable<LineItem>) -
There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ var result = obj.createResult(resultType); result.add(new LineItem("A")); result.add(new LineItem("B")); Utility.populate(dependency, obj, "C", "D", "E"); result.add(new LineItem("F"); return result; -
There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,9 @@ var result = obj.createResult(resultType, new LineItem("A"), new LineItem("B")); Utility.populate(dependency, obj, "C", "D", "E"); result.add(new LineItem("F")); return result; // populate returns void // createResult(ResultType, params LineItem[] lineItems) -
There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,4 +11,7 @@ new LineItem("F") }; return result; // CThoughE is a new method I created that returns IEnumerable (the utility function returned void) -
There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ var result = obj.createResult(resultType); result.add(new LineItem("A")); result.add(new LineItem("B")); Utility.populate(dependency, "C", "D", "E"); result.add(new LineItem("F"); return result; This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ var result = obj.createResult(resultType, new LineItem("A"), new LineItem("B")); Utility.populate(dependency, "C", "D", "E"); result.add(new LineItem("F")); return result; This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ var result = obj.createResult(resultType, new List<LineItem> { new LineItem("A"), new LineItem("B")) }.Union(CThoughE(dependency, "C", "D", "E") ).Union(new List<ListItem> { new LineItem("F") }; return result;