Ejemplo n.º 1
0
 public override void CopyProperties(Trigger sourceTrigger)
 {
     base.CopyProperties(sourceTrigger);
     if (sourceTrigger.GetType() == base.GetType())
     {
         StateChange = ((SessionStateChangeTrigger)sourceTrigger).StateChange;
     }
 }
Ejemplo n.º 2
0
 public override void CopyProperties(Trigger sourceTrigger)
 {
     base.CopyProperties(sourceTrigger);
     if (sourceTrigger.GetType() == base.GetType())
     {
         DaysInterval = ((DailyTrigger)sourceTrigger).DaysInterval;
     }
 }
Ejemplo n.º 3
0
 public override void CopyProperties(Trigger sourceTrigger)
 {
     base.CopyProperties(sourceTrigger);
     if (sourceTrigger.GetType() == base.GetType())
     {
         DaysOfWeek = ((WeeklyTrigger)sourceTrigger).DaysOfWeek;
         WeeksInterval = ((WeeklyTrigger)sourceTrigger).WeeksInterval;
     }
 }
Ejemplo n.º 4
0
 public override void CopyProperties(Trigger sourceTrigger)
 {
     base.CopyProperties(sourceTrigger);
     if (sourceTrigger.GetType() == base.GetType())
     {
         Subscription = ((EventTrigger)sourceTrigger).Subscription;
     }
     ((EventTrigger)sourceTrigger).ValueQueries.CopyTo(this.ValueQueries);
 }
Ejemplo n.º 5
0
 public override void CopyProperties(Trigger sourceTrigger)
 {
     base.CopyProperties(sourceTrigger);
     if (sourceTrigger.GetType() == base.GetType())
     {
         DaysOfMonth = ((MonthlyTrigger)sourceTrigger).DaysOfMonth;
         MonthsOfYear = ((MonthlyTrigger)sourceTrigger).MonthsOfYear;
         try { RunOnLastDayOfMonth = ((MonthlyTrigger)sourceTrigger).RunOnLastDayOfMonth; }
         catch { }
     }
 }
Ejemplo n.º 6
0
 public override void CopyProperties(Trigger sourceTrigger)
 {
     base.CopyProperties(sourceTrigger);
     if (sourceTrigger.GetType() == base.GetType())
     {
         DaysOfMonth  = ((MonthlyTrigger)sourceTrigger).DaysOfMonth;
         MonthsOfYear = ((MonthlyTrigger)sourceTrigger).MonthsOfYear;
         try { RunOnLastDayOfMonth = ((MonthlyTrigger)sourceTrigger).RunOnLastDayOfMonth; }
         catch { }
     }
 }