There has to be a cleaner method. Currently I have:
... Constructor() { parseDictionary = new Dictionary() {
Just cast to the right kind of delegate:
parseDictionary = new Dictionary<typeOfStream, Delegate>() { { typeOfStream.SOME_ENUM_VAL, (ParseDelegate<string>) MyMethod) }, { typeOfStream.SOME_OTHER_ENUM_VAL, (ParseDelegate<XmlNode>) MyOtherMethod } };