void _controller_OnException(ControllerExceptions ex) { ControllerException = ex; InvokePropertyChanged("ControllerException"); }
public void InvokeOnException(ControllerExceptions ex) { ControllerException handler = OnException; if (handler != null) handler(ex); }