+ 1

code

What is Dictionary<string, Action<TextWriter>> I really don't understand...

10th Aug 2016, 12:37 PM
FiveSixSeven
FiveSixSeven - avatar
1 Answer
+ 1
It's a dictionary, so key value pair keyed off a String, which gives an Action, which takes a TextWriter. Without context of how it's used it would be hard to say specific usage, but could be useful if you need to have a method to write a specific piece of text when a String value is given.
13th Aug 2016, 9:28 PM
Dave