コード例 #1
0
 /// <summary>
 ///     Set the <see cref="Cumulator" /> function used by this decoder.
 /// </summary>
 public void SetCumulator(Cumulator cumulator)
 {
     Contract.Requires(cumulator != null);
     _cumulator = cumulator;
 }
コード例 #2
0
 /// <summary>
 /// Set the <seealso cref="Cumulator"/> to use for cumulate the received <seealso cref="IByteBuffer"/>s.
 /// </summary>
 public virtual void setCumulator(Cumulator cumulator)
 {
     this.cumulator = cumulator ?? throw new NullReferenceException("cumulator");
 }
コード例 #3
0
 /// <summary>
 ///     Set the <see cref="Cumulator" /> function used by this decoder.
 /// </summary>
 public void SetCumulator(Cumulator cumulator)
 {
     Contract.Requires(cumulator != null);
     _cumulator = cumulator;
 }