public void Execute(VisQuery.TryResult res, VisNode self, VisNode other) { switch (res) { case VisQuery.TryResult.Enter: { this.ExecuteEnter(self, other); break; } case VisQuery.TryResult.Stay: { break; } case VisQuery.TryResult.Exit: { this.ExecuteExit(self, other); break; } default: { goto case VisQuery.TryResult.Stay; } } }
public void Execute(VisQuery.TryResult res, VisNode self, VisNode other) { switch (res) { case VisQuery.TryResult.Enter: this.ExecuteEnter(self, other); break; case VisQuery.TryResult.Exit: this.ExecuteExit(self, other); break; } }