Example #1
0
        protected virtual void OnActivityRemoved(ActivityRemovedEventArgs e)
        {
            var handler = ActivityRemoved;

            if (handler != null)
            {
                handler(this, e);
            }
        }
        private void DataManager_ActivityRemoved(object sender, ActivityRemovedEventArgs e)
        {
            var appointment = (IgOutlook.Business.Calendar.Appointment)e.Activity.DataItem;

            if (e.Activity.IsVariance)
            {
                if (appointment.IsMeetingRequest)
                {
                    CalendarService.GenerateAssociatedVarianceAppointments(appointment);
                }
            }
            else
            {
                if (appointment.IsMeetingRequest)
                {
                    CalendarService.DeleteAssociatedAppointments(appointment);
                }
            }
        }
Example #3
0
 private void ActivityCloudConnectorActivityDeleted(object sender, ActivityRemovedEventArgs e)
 {
     ActivityStore.Activities.Remove(e.Id);
     _publisher.Publish(ActivityEvent.ActivityRemoved.ToString(), e.Id);
     Console.WriteLine("ActivityManager: Published {0}: {1}", EventType.ActivityEvents,
                       ActivityEvent.ActivityRemoved);
 }
Example #4
0
        void ActivityNode_ActivityRemoved(object sender, ActivityRemovedEventArgs e)
        {
            IActivity backupActivity;

            activitiesCache.TryRemove(e.Id, out backupActivity);
        }
Example #5
0
 void node_ActivityRemoved(object sender, ActivityRemovedEventArgs e)
 {
     //OnActivityRemoved(e);
 }
Example #6
0
 void ActivitySystem_ActivityRemoved(object sender, ActivityRemovedEventArgs e)
 {
     Notifier.NotifyAll(NotificationType.ActivityRemoved, e.Id);
 }
Example #7
0
 void ActivitySystem_ActivityRemoved(object sender, ActivityRemovedEventArgs e)
 {
     Notifier.NotifyAll(NotificationType.ActivityRemoved, e.Id);
 }
Example #8
0
 private void ActivityClientActivityRemoved(object sender, ActivityRemovedEventArgs e)
 {
     Activity removedActivity;
     _activityBuffer.TryRemove(e.Id, out removedActivity);
 }
Example #9
0
 protected virtual void OnActivityRemoved(ActivityRemovedEventArgs e)
 {
     var handler = ActivityRemoved;
     if (handler != null) handler(this, e);
 }
Example #10
0
 void ActivityNode_ActivityRemoved( object sender, ActivityRemovedEventArgs e )
 {
     IActivity backupActivity;
     activitiesCache.TryRemove( e.Id, out backupActivity );
 }