comparison Implab/Automaton/AutomatonTransition.cs @ 205:8200ab154c8a v2

Added ResetState to RunnableComponent to reset in case of failure Added StateChanged event to IRunnable Renamed Promise.SUCCESS -> Promise.Success Added Promise.FromException Renamed Bundle -> PromiseAll in PromiseExtensions
author cin
date Tue, 25 Oct 2016 17:40:33 +0300
parents b84cdbe82e7f
children d6fe09f5592c
comparison
equal deleted inserted replaced
203:4d9830a9bbb8 205:8200ab154c8a
26 } 26 }
27 27
28 public override int GetHashCode() { 28 public override int GetHashCode() {
29 return s1 + s2 + edge; 29 return s1 + s2 + edge;
30 } 30 }
31
32 public static bool operator == (AutomatonTransition rv, AutomatonTransition lv) {
33 return rv.Equals(lv);
34 }
35
36 public static bool operator !=(AutomatonTransition rv, AutomatonTransition lv) {
37 return rv.Equals(lv);
38 }
31 } 39 }
32 } 40 }
33 41