public void InvokeOnException(CameraExceptions exception) { if (IsFreeze) return; CameraExeption handler = OnException; if (handler != null) handler(exception); }
void Camera_OnException(CameraExceptions exception) { CameraException = exception; InvokePropertyChanged("CameraException"); }