58 references to PipeDirection
System.Core (58)
System\IO\Pipes\Pipe.cs (45)
49
: this(
PipeDirection
.Out, HandleInheritability.None, 0, null) { }
53
public AnonymousPipeServerStream(
PipeDirection
direction)
58
public AnonymousPipeServerStream(
PipeDirection
direction, HandleInheritability inheritability)
65
public AnonymousPipeServerStream(
PipeDirection
direction, HandleInheritability inheritability, int bufferSize)
67
if (direction ==
PipeDirection
.InOut) {
82
public AnonymousPipeServerStream(
PipeDirection
direction, HandleInheritability inheritability, int bufferSize, PipeSecurity pipeSecurity)
84
if (direction ==
PipeDirection
.InOut) {
112
public AnonymousPipeServerStream(
PipeDirection
direction, SafePipeHandle serverSafePipeHandle, SafePipeHandle clientSafePipeHandle)
114
if (direction ==
PipeDirection
.InOut) {
195
private void Create(
PipeDirection
direction, UnsafeNativeMethods.SECURITY_ATTRIBUTES secAttrs, int bufferSize) {
196
Debug.Assert(direction !=
PipeDirection
.InOut, "Anonymous pipe direction shouldn't be InOut");
204
if (direction ==
PipeDirection
.In) {
269
: this(
PipeDirection
.In, pipeHandleAsString) { }
274
public AnonymousPipeClientStream(
PipeDirection
direction, String pipeHandleAsString)
277
if (direction ==
PipeDirection
.InOut) {
302
public AnonymousPipeClientStream(
PipeDirection
direction, SafePipeHandle safePipeHandle)
305
if (direction ==
PipeDirection
.InOut) {
320
private void Init(
PipeDirection
direction, SafePipeHandle safePipeHandle) {
321
Debug.Assert(direction !=
PipeDirection
.InOut, "anonymous pipes are unidirectional, caller should have verified before calling Init");
390
: this(pipeName,
PipeDirection
.InOut, 1, PipeTransmissionMode.Byte, PipeOptions.None, 0, 0, null,
395
public NamedPipeServerStream(String pipeName,
PipeDirection
direction)
401
public NamedPipeServerStream(String pipeName,
PipeDirection
direction, int maxNumberOfServerInstances)
407
public NamedPipeServerStream(String pipeName,
PipeDirection
direction, int maxNumberOfServerInstances,
414
public NamedPipeServerStream(String pipeName,
PipeDirection
direction, int maxNumberOfServerInstances,
421
public NamedPipeServerStream(String pipeName,
PipeDirection
direction, int maxNumberOfServerInstances,
428
public NamedPipeServerStream(String pipeName,
PipeDirection
direction, int maxNumberOfServerInstances,
436
public NamedPipeServerStream(String pipeName,
PipeDirection
direction, int maxNumberOfServerInstances,
471
public NamedPipeServerStream(String pipeName,
PipeDirection
direction, int maxNumberOfServerInstances,
532
public NamedPipeServerStream(
PipeDirection
direction, bool isAsync, bool isConnected, SafePipeHandle safePipeHandle)
558
private void Create(String fullPipeName,
PipeDirection
direction, int maxNumberOfServerInstances,
562
Debug.Assert(direction >=
PipeDirection
.In && direction <=
PipeDirection
.InOut, "invalid pipe direction");
993
: this(".", pipeName,
PipeDirection
.InOut, PipeOptions.None, TokenImpersonationLevel.None, HandleInheritability.None) { }
998
: this(serverName, pipeName,
PipeDirection
.InOut, PipeOptions.None, TokenImpersonationLevel.None, HandleInheritability.None) { }
1002
public NamedPipeClientStream(String serverName, String pipeName,
PipeDirection
direction)
1007
public NamedPipeClientStream(String serverName, String pipeName,
PipeDirection
direction,
1013
public NamedPipeClientStream(String serverName, String pipeName,
PipeDirection
direction,
1019
public NamedPipeClientStream(String serverName, String pipeName,
PipeDirection
direction,
1055
if ((
PipeDirection
.In & direction) != 0) {
1058
if ((
PipeDirection
.Out & direction) != 0) {
1112
private static
PipeDirection
DirectionFromRights(PipeAccessRights rights) {
1113
PipeDirection
direction = 0;
1115
direction |=
PipeDirection
.In;
1118
direction |=
PipeDirection
.Out;
1127
public NamedPipeClientStream(
PipeDirection
direction, bool isAsync, bool isConnected,
System\IO\Pipes\PipeStream.cs (13)
84
private
PipeDirection
m_pipeDirection;
93
protected PipeStream(
PipeDirection
direction, int bufferSize) {
94
if (direction <
PipeDirection
.In || direction >
PipeDirection
.InOut) {
105
protected PipeStream(
PipeDirection
direction, PipeTransmissionMode transmissionMode, int outBufferSize) {
106
if (direction <
PipeDirection
.In || direction >
PipeDirection
.InOut) {
119
private void Init(
PipeDirection
direction, PipeTransmissionMode transmissionMode, int outBufferSize) {
120
Debug.Assert(direction >=
PipeDirection
.In && direction <=
PipeDirection
.InOut, "invalid pipe direction");
130
if ((m_pipeDirection &
PipeDirection
.In) != 0) {
133
if ((m_pipeDirection &
PipeDirection
.Out) != 0) {
894
if (m_pipeDirection ==
PipeDirection
.Out) {