コード例 #1
0
 public IList <TimeLimit> Remove(TimeLimit limit)
 {
     if (this.Limits != null && limit != null)
     {
         this.Limits.Remove(limit);
     }
     this.Validate();
     return(this.Limits);
 }
コード例 #2
0
 public IList <TimeLimit> Add(TimeLimit limit)
 {
     if (this.Limits == null)
     {
         this.Limits = new List <TimeLimit>();
     }
     this.Limits.Add(limit);
     this.Validate();
     return(this.Limits);
 }