1 instantiation of SequenceSegment
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\SequenceOfT.cs (1)
232
var segment = this.segmentPool.Count > 0 ? this.segmentPool.Pop() : new
SequenceSegment
();
19 references to SequenceSegment
Microsoft.AspNetCore.Components.Server (19)
BlazorPack\SequenceOfT.cs (19)
25
private readonly Stack<
SequenceSegment
> segmentPool = new Stack<
SequenceSegment
>();
31
private
SequenceSegment
first;
33
private
SequenceSegment
last;
123
var
firstSegment = (
SequenceSegment
)position.GetObject();
127
var
current = this.first;
167
SequenceSegment
last = this.last;
200
var
current = this.first;
209
private
SequenceSegment
GetSegment(int sizeHint)
232
var
segment = this.segmentPool.Count > 0 ? this.segmentPool.Pop() : new SequenceSegment();
248
private void Append(
SequenceSegment
segment)
264
var
current = this.first;
285
private
SequenceSegment
RecycleAndGetNext(
SequenceSegment
segment)
287
var
recycledSegment = segment;
352
internal new
SequenceSegment
Next
354
get => (
SequenceSegment
)base.Next;
405
internal void SetNext(
SequenceSegment
segment)