27 references to Count
System.ServiceModel (27)
System\ServiceModel\Channels\TransmissionStrategy.cs (27)
126
return (this.window.
Count
> 0 || this.waitQueue.Count > 0);
231
sequenceNumber = this.windowStart + this.window.
Count
;
234
if (this.requestAcks && (this.window.
Count
== this.windowSize - 1 || this.quotaRemaining == 1)) // can't add any more
240
if (this.window.
Count
== 0)
273
return (this.window.
Count
< this.windowSize && // Does the message fit in the transmission window?
307
int count = Math.Min(this.windowSize, this.quotaRemaining) - this.window.
Count
;
354
if (this.window.
Count
== 0)
372
if (!this.closed && (this.window.
Count
> 0))
463
this.last = this.windowStart + this.window.
Count
- 1;
558
if ((this.windowStart == 1) && (this.window.
Count
== 0))
587
Int64 lastMessageSent = this.windowStart + this.window.
Count
- 1;
617
int endIndex = (int)((range.Upper > lastMessageSent) ? (this.window.
Count
- 1) : (range.Upper - this.windowStart));
625
int endIndex = (int)((range.Upper > lastMessageSent) ? (this.window.
Count
- 1) : (range.Upper - this.windowStart));
697
this.quotaRemaining = quotaRemaining - Math.Min(this.windowSize, this.window.
Count
);
715
for (int i = 1; i < this.window.
Count
; i++)
736
int inFlightAfterAck = Math.Min(this.windowSize, this.window.
Count
) - (int)slide;
772
int sendEndIndex = Math.Min(this.windowSize, this.window.
Count
);
778
for (int i = sendBeginIndex; i < this.windowSize && i < this.window.
Count
; i++)
790
if (window.
Count
> 0)
831
if (this.windowStart + this.window.
Count
+ this.waitQueue.Count == Int64.MaxValue)
955
if (this.
Count
== 0)
958
return this.GetTransferredInRangeCount(0, this.
Count
- 1);
964
if (this.
Count
>= (this.maxSize - 1))
975
if (index >=
Count
)
988
this.Remove(
Count
);
1031
if (endIndex >= this.
Count
)
1062
if (count > this.
Count
)