public TwoWayCopier SetCounters(BytesCountersRW left, BytesCountersRW right) { CopierFromLeft.CounterR = left.R; CopierFromRight.CounterW = left.W; CopierFromRight.CounterR = right.R; CopierFromLeft.CounterW = right.W; return(this); }
public BytesCountersRW(BytesCountersRW nextRW) { R = new BytesCounter(nextRW.R); W = new BytesCounter(nextRW.W); }
protected InConnection(IAdapter creator) : base(creator) { var adap = creator.GetAdapter(); BytesCountersRW = new BytesCountersRW(adap.BytesCountersRW); }