Пример #1
0
 public T GetState <T>() where T : class
 {
     return(StateStack.OfType <T>().FirstOrDefault());
 }