title: SharePoint: Multiple events for single item updated
body: <p>I have an item event receiver for a specific content type that is used in a Pages library. I am using the event logger to debug it, and I can tell that whenever I edit a page and publish it, it fires 3 <code>ItemUpdating</code> and 3 <code>ItemUpdated</code> events. I am certain that no other pages are being saved in that specific time.</p>
  
  <p>What is the cause of this and is there any way to "fix" it to trigger only 1 event per page publish?</p>
  
  <p>Alternatively, is there any way to distinguish the last of the events (ie: page is now published or being published) from the others, so I don't end up running my code three times?</p>