Exemplo n.º 1
0
 public virtual bool UpsertTimeslice(ITimeslice pTimeslice)
 {
     throw new System.NotImplementedException();
 }
Exemplo n.º 2
0
 /// <summary>
 /// To edit the timeslice the old one is removed and a new is being created
 /// </summary>
 /// <param name="PTimeslice"></param>
 public void EditTimeslice(ITimeslice pTimeslice, ITimeslice pNewTimeslice)
 {
     if (TimesliceList.Contains(pTimeslice))
     {
         TimesliceList.Remove(pTimeslice);
         TimesliceList.Add(pNewTimeslice);
         List<InteractionAttributes> changedAttributes = new List<InteractionAttributes>();
         changedAttributes.Add(InteractionAttributes.TimesliceList);
         OnModify(new InteractionEventArgs($"Survey user list changed [Id={Id}]", DateTime.Now, InteractionType.Account));
     }
 }
Exemplo n.º 3
0
 public virtual void EditTimeslice(ITimeslice PTimeslice, ITimeslice pNewTimeslice)
 {
     throw new System.NotImplementedException();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Adds a "timeslice" to the timeslicelist
 /// </summary>
 /// <param name="pTimeslice"></param>
 public void AddTimeslice(ITimeslice pTimeslice)
 {
     TimesliceList.Add(pTimeslice);
     List<InteractionAttributes> changedAttributes = new List<InteractionAttributes>();
     changedAttributes.Add(InteractionAttributes.TimesliceList);
     OnModify(new InteractionEventArgs($"Survey IsActive changed [Id={Id}]", DateTime.Now, InteractionType.Account));
 }
Exemplo n.º 5
0
 public virtual void DeleteTimeslice(ITimeslice pTimeslice)
 {
     throw new System.NotImplementedException();
 }