Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this case, the code window contains 320 lines of generated code for the hash table class, implementing the IDictionary, ICollection, IEnumerable, and ICloneable interfaces. There's nothing there that you couldn't write yourself if you're a reasonably experienced C# developer - but why bother? This is the sort of routine work that CodeSmith is ideally suited for. With CodeSmith, you can devote your time and energy to identifying patterns in your code, turning them into templates, and then reuse them with maximum flexibility in the future.

Image Modified

Next: Inspecting the Template

Advanced: Using a CodeSmith Project to Execute CodeSmith Templates from Anywhere