예제 #1
0
 private void RemoveAction(ActionsHomeModel singlePC)
 {
     lock (this._currentActionsList)
     {
         this._currentActionsList.Remove(singlePC);
     }
 }
예제 #2
0
 public void AddAction(ActionsHomeModel singlePC)
 {
     if (!this._currentActionsList.Contains(singlePC))
     {
         lock (this._currentActionsList)
         {
             this._currentActionsList.Add(singlePC);
         }
     }
 }