예제 #1
0
 /// <summary>
 /// Removes a portable item handler.
 /// </summary>
 /// <param name="handler">The handler to remove.</param>
 public void RemoveHandler(PortableItemHandler handler)
 {
     this.broadcast -= handler;
 }
예제 #2
0
 /// <summary>
 /// Add a new handler for portable item events.
 /// </summary>
 /// <param name="handler">A handler to call.</param>
 public void AddHandler(PortableItemHandler handler)
 {
     this.broadcast += handler;
 }