public override void SetMonitor(ITransportMonitor usageMeter) => throw new NotImplementedException();
public override void SetMonitor(ITransportMonitor usageMeter) { // Don't do anything }
public abstract void SetMonitor(ITransportMonitor usageMeter);
public override void SetMonitor(ITransportMonitor usageMeter) { this.innerTransport.SetMonitor(usageMeter); }
public override void SetMonitor(ITransportMonitor monitor) { throw new NotImplementedException("Not supported in UWP"); }
public void ReportRead(ITransportMonitor monitor) { monitor.OnTransportRead(this.bufferSize, this.BytesTransferred, this.cacheHits, this.startTime.ElapsedTicks); this.cacheHits = 0; }
public override void SetMonitor(ITransportMonitor monitor) { this.monitor = monitor; }
public override void SetMonitor(ITransportMonitor usageMeter) { this.usageMeter = usageMeter; }
public void ReportWrite(ITransportMonitor monitor) { monitor.OnTransportWrite(this.bufferSize, this.BytesTransferred, 0, this.startTime.ElapsedTicks); }
public override void SetMonitor(ITransportMonitor usageMeter) { }