示例#1
0
 public bool CanAddRemove(SamplingEvent item)
 {
     if (item != null)
     {
         return(this.CanAddRemove() && FieldActivityManager.Instance.GetSampleEventProvider(this.Context).CanUpdate(item));
     }
     return(false);
 }
 public bool Delete(SamplingEvent item)
 {
     if (item != null)
     {
         return(Delete(item.Identity));
     }
     return(false);
 }
示例#3
0
 public bool Equals(SamplingEvent other)
 {
     if (other != null)
     {
         return(this.Identity.Equals(other.Identity));
     }
     return(false);
 }
 public abstract bool CanDelete(SamplingEvent item);
 public abstract bool Update(SamplingEvent item);
示例#6
0
 public abstract bool Remove(FieldTeam team, SamplingEvent item);
示例#7
0
 public abstract bool Add(FieldTeam team, SamplingEvent item);
示例#8
0
 public abstract bool Contains(FieldTeam team, SamplingEvent item);
示例#9
0
 public abstract IEnumerable <FieldTeam> Get(SamplingEvent item);