init
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* EventHandlers.cs
|
||||
*
|
||||
* Copyright © 2009
|
||||
* Diversified Technical Systems, Inc.
|
||||
* All Rights Reserved
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
||||
namespace DTS.Serialization
|
||||
{ ///
|
||||
/// <summary>
|
||||
/// Generic handler for serialization begin task events.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="sender">
|
||||
/// The <see cref="object"/> responsible for issuing this event.
|
||||
/// </param>
|
||||
///
|
||||
/// <param name="numberOfTicks">
|
||||
/// The total <see cref="uint"/> number of ticks to be tacked in the serialization
|
||||
/// operation that is commencing with this event.
|
||||
/// </param>
|
||||
///
|
||||
public delegate void BeginEventHandler(object sender, uint numberOfTicks);
|
||||
///
|
||||
/// <summary>
|
||||
/// generic handler called when an event is cancelled
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
public delegate void CancelEventHandler(object sender);
|
||||
///
|
||||
/// <summary>
|
||||
/// Generic handler for serialization end task events.
|
||||
/// </summary>
|
||||
///
|
||||
/// <param name="sender">
|
||||
/// The <see cref="object"/> responsible for issuing this event.
|
||||
/// </param>
|
||||
///
|
||||
public delegate void EndEventHandler(object sender);
|
||||
/// <summary>
|
||||
/// generic handler for events errors
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="ex"></param>
|
||||
public delegate void ErrorEventHandler(object sender, Exception ex);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user