示例#1
0
文件: State.cs 项目: gmich/Gem
 public bool RemoveTransition(StateTransition <TStateContext> transition)
 {
     return(transitions.Remove(transition));
 }
示例#2
0
文件: State.cs 项目: gmich/Gem
 public IDisposable AddTransition(StateTransition <TStateContext> transition)
 {
     transitions.Add(transition);
     return(Disposable.Create(transitions, transition));
 }