Generics Not working.

Aug 12, 2009 at 8:38 AM


I have a private readonly field of a custom type...

readonly UndoRedo<List<BaseStep>> fList = new UndoRedo<List<BaseStep>>(new List<BaseStep>());


The BaseStep class full implements the UndoRedo functionality of DeJaVu and it works fantastically, however adding items to the the above defined list does not cause an item to be added to the UndoRedo Stack, please see the code below for an example of what i am doing.


public virtual void AddStep(BaseStep Step)
            using (UndoRedoManager.Start("Add new Step"))
Can anyone give any help as i would really like to implement DeJaVu in my current application as its brilliant.
Aug 12, 2009 at 12:50 PM

Sorry, i was being ignorant, i didnt bother fully reading the documentational blog first :) i have now found the UndoRedoList.

Thanks for a great peice of code :)