示例#1
0
 /// <summary>
 /// Registers a new <see cref="FieldBlockers">FieldBlocker</see>.
 /// </summary>
 /// <param name="blocker"></param>
 public void AddFieldBlocker(FieldBlocker blocker)
 {
     if (this.fieldBlockers.Contains(blocker))
     {
         return;
     }
     this.fieldBlockers.Add(blocker);
 }
示例#2
0
 /// <summary>
 /// Unregisters an existing <see cref="FieldBlockers">FieldBlocker</see>.
 /// </summary>
 /// <param name="blocker"></param>
 public void RemoveFieldBlocker(FieldBlocker blocker)
 {
     this.fieldBlockers.Remove(blocker);
 }