示例#1
0
 public RxSpyErrorModel(IOnErrorEvent onErrorEvent)
 {
     Received   = TimeSpan.FromMilliseconds(onErrorEvent.EventTime);
     ErrorType  = onErrorEvent.ErrorType;
     Message    = onErrorEvent.Message;
     StackTrace = onErrorEvent.StackTrace;
 }
示例#2
0
 public RxSpyErrorModel(IOnErrorEvent onErrorEvent)
 {
     Received = TimeSpan.FromMilliseconds(onErrorEvent.EventTime);
     ErrorType = onErrorEvent.ErrorType;
     Message = onErrorEvent.Message;
     StackTrace = onErrorEvent.StackTrace;
 }
        public void OnError(IOnErrorEvent onErrorEvent)
        {
            Error    = new ErrorEvent(onErrorEvent);
            IsActive = false;
            HasError = true;

            Status = ErrorState;
        }
        private void OnError(IOnErrorEvent onErrorEvent)
        {
            ErrorCount++;

            ObservableState operatorState;

            _observableRepository.TryGetValue(onErrorEvent.OperatorId, out operatorState);

            operatorState.OnError(onErrorEvent);
        }
示例#5
0
        private void OnError(IOnErrorEvent onErrorEvent)
        {
            ErrorCount++;

            RxSpyObservableModel operatorModel;

            observableRepository.TryGetValue(onErrorEvent.OperatorId, out operatorModel);

            operatorModel.OnError(onErrorEvent);
        }
示例#6
0
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     Increment();
     _inner.OnError(onErrorEvent);
 }
示例#7
0
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     Increment();
     _inner.OnError(onErrorEvent);
 }
示例#8
0
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     Error    = new RxSpyErrorModel(onErrorEvent);
     IsActive = false;
     Status   = "Error";
 }
示例#9
0
 public OnErrorExceptionEventArgs(IOnErrorEvent errorEvent, State state)
 {
     ErrorEvent = errorEvent;
     State1     = state;
 }
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     _state.OnEvent(onErrorEvent);
 }
示例#11
0
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     EnqueueEvent(onErrorEvent);
 }
示例#12
0
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     ForAll((h) => h.OnError(onErrorEvent));
 }
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     _eventHandler.OnError(onErrorEvent);
 }
示例#14
0
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     _eventHandler.OnError(onErrorEvent);
 }
示例#15
0
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     Error = new RxSpyErrorModel(onErrorEvent);
     IsActive = false;
     Status = "Error";
 }
示例#16
0
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     EnqueueEvent(onErrorEvent);
 }
示例#17
0
        private void OnError(IOnErrorEvent onErrorEvent)
        {
            ErrorCount++;

            RxSpyObservableModel operatorModel;
            observableRepository.TryGetValue(onErrorEvent.OperatorId, out operatorModel);

            operatorModel.OnError(onErrorEvent);
        }
示例#18
0
 public void OnError(IOnErrorEvent onErrorEvent)
 {
     // right then, we need to look in the state to possibly produce an event
     OnErrorRaised(new OnErrorExceptionEventArgs(onErrorEvent, _state));
 }