Exemplo n.º 1
0
 public static int Write(this IPCPipe pipe, Handle handle, string text)
 {
     return(pipe.Write(Encoding.Default, text));
 }
Exemplo n.º 2
0
 public static int Write(this IPCPipe pipe, Handle handle, string text, Action <Exception> callback)
 {
     return(pipe.Write(handle, Encoding.Default, text, callback));
 }
Exemplo n.º 3
0
 public static int Write(this IPCPipe pipe, Handle handle, Encoding enc, string text)
 {
     return(pipe.Write(enc, text, null));
 }
Exemplo n.º 4
0
 public static void Write(this IPCPipe pipe, Handle handle, byte[] data)
 {
     pipe.Write(handle, data, null);
 }
Exemplo n.º 5
0
 public static void Write(this IPCPipe pipe, Handle handle, byte[] data, Action <Exception> callback)
 {
     pipe.Write(handle, data, 0, callback);
 }
Exemplo n.º 6
0
 public static void Write(this IPCPipe pipe, Handle handle, byte[] data, int index, Action <Exception> callback)
 {
     Ensure.ArgumentNotNull(data, "data");
     pipe.Write(handle, data, index, data.Length - index, callback);
 }
Exemplo n.º 7
0
 public static void Write(this IPCPipe pipe, Handle handle, byte[] data, int index, int count)
 {
     pipe.Write(handle, data, index, count, null);
 }
Exemplo n.º 8
0
 public static void Write(this IPCPipe pipe, Handle handle, byte[] data, int index, int count, Action <Exception> callback)
 {
     pipe.Write(handle, new ArraySegment <byte>(data, index, count), callback);
 }