1 write to _pipe
Microsoft.Extensions.DotNetDeltaApplier.Tests (1)
DefaultHotReloadClient.cs (1)
62
_pipe
= new NamedPipeServerStream(_namedPipeName, PipeDirection.InOut, 1, PipeTransmissionMode.Byte, options);
17 references to _pipe
Microsoft.Extensions.DotNetDeltaApplier.Tests (17)
DefaultHotReloadClient.cs (17)
41
if (
_pipe
!= null)
47
_pipe
.Dispose();
75
await
_pipe
.WaitForConnectionAsync(cancellationToken);
79
var capabilities = (await ClientInitializationResponse.ReadAsync(
_pipe
, cancellationToken)).Capabilities;
109
Debug.Assert(
_pipe
!= null);
115
var type = (ResponseType)await
_pipe
.ReadByteAsync(cancellationToken);
125
var notification = await HotReloadExceptionCreatedNotification.ReadAsync(
_pipe
, cancellationToken);
146
[MemberNotNull(nameof(
_pipe
))]
153
Debug.Assert(
_pipe
!= null);
274
Debug.Assert(
_pipe
!= null);
318
await
_pipe
.WriteAsync((byte)request.Type, cancellationToken);
319
await request.WriteAsync(
_pipe
, cancellationToken);
320
await
_pipe
.FlushAsync(cancellationToken);
334
Debug.Assert(
_pipe
!= null);
336
var (success, log) = await UpdateResponse.ReadAsync(
_pipe
, cancellationToken);
357
await
_pipe
.WriteAsync((byte)RequestType.InitialUpdatesCompleted, cancellationToken);
358
await
_pipe
.FlushAsync(cancellationToken);