New answers tagged object-model
You can use SPWorkflowEventProperties class object like properties.ActivationProperties.Workflow to get the reference of workflow. properties.ActivationProperties.List to get the reference of list. And properties.ActivationProperties.Item to get the reference of Item.
It depends on what you want the function to do in the two cases. When called with a SPListItem, if you want it to display the values from the most recent version then one option would be to put all the logic into a function that accepts a SPListItemVersion. If the function was passed a SPListItem then it would just call the function with it's most recent ...
Top 50 recent answers are included