Beispiel #1
0
        /// <summary>
        /// Raises the data sync error event.
        /// </summary>
        /// <param name="e">A DataSyncErrorEventArgs or type T.</param>
        protected virtual void RaiseDataSyncErrorEvent(DataSyncErrorEventArgs <Acquaintance> e)
        {
            DataSyncErrorEventHandler <Acquaintance> handler = OnDataSyncError;

            if (handler != null)
            {
                handler(this, e);
            }
        }
        /// <summary>
        /// Raises the data sync error event.
        /// </summary>
        /// <param name="e">A DataSyncErrorEventArgs or type T.</param>
        protected virtual void RaiseDataSyncErrorEvent(DataSyncErrorEventArgs e)
        {
            DataSyncErrorEventHandler handler = OnDataSyncError;

            if (handler != null)
            {
                handler(this, e);
            }
        }