diff --git a/Pilz.Collections/SimpleHistory/SimpleHistory.vb b/Pilz.Collections/SimpleHistory/SimpleHistory.vb index a4d7d88..872a76b 100644 --- a/Pilz.Collections/SimpleHistory/SimpleHistory.vb +++ b/Pilz.Collections/SimpleHistory/SimpleHistory.vb @@ -17,6 +17,26 @@ Namespace SimpleHistory End Get End Property + ''' + ''' Gets the current stack of all past HistoryPoints that are used for the Undo function. + ''' + ''' + Public ReadOnly Property PastHistoryPoints As HistoryPoint() + Get + Return stackPast.ToArray + End Get + End Property + + ''' + ''' Gets the current stack of all future HistoryPoints that are used for the Redo function. + ''' + ''' + Public ReadOnly Property FutureHistoryPoints As HistoryPoint() + Get + Return stackFuture.ToArray + End Get + End Property + ''' ''' Checks if the History has past changes. '''