So the Indigo Tools QA team has a large set of ‘tier services’ for adding all sorts of crazy WCF services. Today I wrote a tool to scan the directory structure of our tier service machine and generate a strongly-typed object representing each service.
I figured the code would be useful so I have posted it here. As usual, there are no warranties expressed or implied. So if the snippet somehow causes problems please don’t blame me or Microsoft.
Edit: After speaking with colleague I realize that implementing both IEnumerable and IEnumerator is bad for business. A better approach would have been to have been to grab the entire directory contents into a list and have a static property return an IEnumerable<string>.