42 references to Default
ClientSample (2)
Tcp\TcpConnection.cs (2)
63
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
InMemory.FunctionalTests (1)
Http2\TlsTests.cs (1)
74
var reader = PipeReaderFactory.CreateFromStream(PipeOptions.
Default
, sslStream, CancellationToken.None);
Microsoft.AspNetCore.Http.Connections.Tests (34)
LongPollingTests.cs (8)
25
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
45
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
67
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
90
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
ServerSentEventsTests.cs (8)
24
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
45
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
66
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, new PipeOptions(readerScheduler: PipeScheduler.Inline));
88
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, new PipeOptions(readerScheduler: PipeScheduler.Inline));
116
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
WebSocketsTests.cs (18)
33
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
80
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
122
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
174
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
205
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
239
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
273
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
312
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
354
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
DefaultHubDispatcherBenchmark.cs (2)
42
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.
Default
, PipeOptions.
Default
);
System.IO.Pipelines (2)
System\IO\Pipelines\Pipe.cs (2)
86
/// <summary>Initializes a new instance of the <see cref="System.IO.Pipelines.Pipe" /> class using <see cref="System.IO.Pipelines.PipeOptions.
Default
" /> as options.</summary>
87
public Pipe() : this(PipeOptions.
Default
)
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (1)
79
int flushThreshold = (int)(4 * PipeOptions.
Default
.MinimumSegmentSize * JsonSerializer.FlushThreshold);