Feature request

Jul 1, 2008 at 2:57 AM
Edited Jul 1, 2008 at 11:01 AM
Snippet requests, anyone?
Jul 17, 2008 at 7:56 AM
Okay, how about...

  1. A snippet for generating read-only dependency properties.
  2. Snippets for making ordinary/read-only DPs and auto-generating a change listener. With the initial cast from DP to owner class, of course :)
  3. NotifyPropertyChanged function
  4. A messagebox declaration with default arguments specified explicitly
  5. A loop that collates an exception's Message and its inner exceptions (recursively) in a StringBuilder - really tired of writing those
  6. A snippet for making an indexer that checks on a container's length and returns null if empty or index is out of bounds and the element otherwise
  7. A snippet that makes properties of RandomInt/RandomDouble/RandomWhatever properties whose get uses something better than Math.Random
  8. A snippet for tuple manufacturing. Well, make that 20 snippets, just in case.