/// <summary>
 /// Adds element to stack and removes last 2
 /// </summary>
 /// <param name="pair">Your pair with name and value</param>
 public void PushStackWithDel(MutableKeyValuePair <string, object> pair)
 {
     Stack.Pop();
     Stack.Pop();
     Stack.Push(new MutableKeyValuePair <string, object>(pair.Id, pair.Value));
 }
 /// <summary>
 /// Creates context for factory
 /// </summary>
 public CommandContext()
 {
     Pair      = new MutableKeyValuePair <string, object>();
     Stack     = new Stack <MutableKeyValuePair <string, object> >();
     PairsList = new List <MutableKeyValuePair <string, object> >();
 }