/// <summary> /// Create failure message /// </summary> /// <param name="error">Error that caused the failure</param> protected TransmissionResult(TransmissionError error) { IsSuccess = false; Error = error; }
protected virtual void OnTransmissionError(TransmissionErrorEventArgs e) { TransmissionError?.Invoke(this, e); }
/// <summary> /// Initializes a new instance of the <see cref="WeightResult"/> class. /// </summary> public WeightResult(TransmissionError error) : base(error) { }