mausch/SolrNet — comment on commit 3efbd96f522b32f92b2d4b6a07cf694c0b0dd87e
File:  line 0
By mausch:

I encourage you to review my changes, just as I review yours. In this case, I was trying to encode a lightweight visitor pattern. If you think about this as a sum type, Match is like pattern matching or more generally a catamorphism.
The difference between this and if..else...else is that this enforces that all cases are always handled.
I didn't really like this implementation, see 4da07d8958d536666f3be0b6701480ba35ca5a46 for the final version.
For automatic compliance with the formatting styles, this repository includes a ReSharper.CodingStyles.xml file, but I don't like enforcing any particular style. I prefer to let everyone write with their own preferred style, then I change it if it annoys me enough :)