/// <summary> /// 引发 <see cref="E:ValueChanged" /> 事件. /// </summary> /// <param name="e">The <see cref="ValueChangedEventArgs{T}" /> Itance containing the event data.</param> protected virtual void OnDataChanged(ValueEventArgs <T?> e) { e.Raise(this, ref DataChanged); }
/// <summary> /// 引发<see cref="E:Opened" />事件 /// </summary> /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param> protected virtual void OnValueChanged(ValueEventArgs <T> e) { e.Raise(this, ref ValueChanged); }
/// <summary> /// 引发 <see cref="E:Opened" /> 事件. /// </summary> /// <param name="e">包含事件数据的实例<see cref="EventArgs" /></param> protected virtual void OnDecodeFinished(ValueEventArgs <T> e) { e.Raise(this, ref DecodeFinished); }
/// <summary> /// 当消息成功接收时发生 /// </summary> /// <param name="e">包含消息的事件参数</param> protected virtual void OnReceiveSuccessed(ValueEventArgs <Message> e) { e.Raise(this, ref ReceiveSuccessed); }
/// <summary> /// 引发 <see cref="E:Dequeued" /> 事件. /// </summary> /// <param name="e">The <see cref="ValueEventArgs{T}" /> Itance containing the event data.</param> protected virtual void OnDequeued(ValueEventArgs <T> e) { e.Raise(this, ref Dequeued); }
/// <summary> /// 引发启动事件。 /// </summary> /// <param name="e">包含事件数据的实例<see cref="EventArgs" /></param> protected virtual void OnReceiveSuccessed(ValueEventArgs <T> e) => e.Raise(this, ref ReceiveSuccessed);
/// <summary> /// Called when [capture successed]. /// </summary> /// <param name="e">The e.</param> protected virtual void OnCaptureSuccessed(ValueEventArgs <T> e) { //this.InfoEventRaise("采集成功"); e.Raise(this, ref CaptureSuccessed); }
/// <summary> /// 引发全局标识改变事件 /// </summary> /// <param name="e">包含事件数据的<see cref="EventArgs" />实例</param> protected virtual void OnEffectiveChanged(ValueEventArgs <bool> e) { e.Raise(this, ref EffectiveChanged); }
/// <summary> /// 引发启动事件。 /// </summary> /// <param name="e">包含事件数据的实例<see cref="EventArgs" /></param> protected virtual void OnSendSuccessed(ValueEventArgs <T> e) => e.Raise(this, ref SendSuccessed);
/// <summary> /// 引发<see cref="E:Opened" />事件 /// </summary> /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param> protected virtual void OnAcquired(ValueEventArgs <T> e) { e.Raise(this, ref Acquired); }
/// <summary> /// 引发<see cref="E:Opened" />事件 /// </summary> /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param> protected virtual void OnConsumed(ValueEventArgs <T> e) { e.Raise(this, ref Consumed); }
/// <summary> /// 引发<see cref="E:Opened" />事件 /// </summary> /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param> protected virtual void OnDispatched(ValueEventArgs <T> e) { e.Raise(this, ref Dispatched); }
/// <summary> /// 引发<see cref="E:Opened" />事件 /// </summary> /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param> protected virtual void OnProducted(ValueEventArgs <T> e) { e.Raise(this, ref Producted); }
/// <summary> /// 引发<see cref="E:Opened" />事件 /// </summary> /// <param name="e">包含事件数据的实例<see cref="EventArgs" /></param> protected virtual void OnStoped(ValueEventArgs <Exception> e) { e.Raise(this, ref Stoped); }
/// <summary> /// 引发启动事件。 /// </summary> /// <param name="e">包含事件数据的实例<see cref="EventArgs" /></param> protected virtual void OnRepeatFinshed(ValueEventArgs <T> e) { e.Raise(this, ref RepeatFinshed); }
/// <summary> /// 引发全局标识改变事件 /// </summary> /// <param name="e">包含事件数据的<see cref="EventArgs" />实例</param> protected virtual void OnStateChanged(ValueEventArgs <ElectronicState> e) { e.Raise(this, ref StateChanged); }