Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:SystemWrapper.IO.FileStreamWrap"/> class for the specified file handle, with the specified read/write permission.
 /// </summary>
 /// <param name="handle">A file handle for the file that the current FileStream object will encapsulate. </param>
 /// <param name="access">A FileAccess constant that sets the CanRead and CanWrite properties of the FileStream object. </param>
 public void Initialize(ISafeFileHandleWrap handle, FileAccess access)
 {
     FileStreamInstance = new FileStream(handle.SafeFileHandleInstance, access);
 }
Esempio n. 2
0
 public void Initialize(ISafeFileHandleWrap handle, FileAccess access, int bufferSize, bool isAsync)
 {
     FileStreamInstance = new FileStream(handle.SafeFileHandleInstance, access, bufferSize, isAsync);
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:SystemWrapper.IO.FileStreamWrap"/> class for the specified file handle, with the specified read/write permission.
 /// </summary>
 /// <param name="handle">A file handle for the file that the current FileStream object will encapsulate. </param>
 /// <param name="access">A FileAccess constant that sets the CanRead and CanWrite properties of the FileStream object. </param>
 public FileStreamWrap(ISafeFileHandleWrap handle, FileAccess access)
 {
     Initialize(handle, access);
 }
 public void Initialize(ISafeFileHandleWrap handle, FileAccess access, int bufferSize, bool isAsync)
 {
     throw new NotImplementedException();
 }
Esempio n. 5
0
 public FileStreamWrap(ISafeFileHandleWrap handle, FileAccess access, int bufferSize, bool isAsync)
 {
     Initialize(handle, access, bufferSize, isAsync);
 }
 public void Initialize(ISafeFileHandleWrap handle, FileAccess access)
 {
     throw new NotImplementedException();
 }
Esempio n. 7
0
 public FileStreamWrap(ISafeFileHandleWrap handle, FileAccess access, int bufferSize, bool isAsync)
 {
     Initialize(handle, access, bufferSize, isAsync);
 }
Esempio n. 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:SystemWrapper.IO.FileStreamWrap"/> class for the specified file handle, with the specified read/write permission. 
 /// </summary>
 /// <param name="handle">A file handle for the file that the current FileStream object will encapsulate. </param>
 /// <param name="access">A FileAccess constant that sets the CanRead and CanWrite properties of the FileStream object. </param>
 public FileStreamWrap(ISafeFileHandleWrap handle, FileAccess access)
 {
     Initialize(handle, access);
 }
Esempio n. 9
0
 public void Initialize(ISafeFileHandleWrap handle, FileAccess access, int bufferSize, bool isAsync)
 {
     FileStreamInstance = new FileStream(handle.SafeFileHandleInstance, access, bufferSize, isAsync);
 }
Esempio n. 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:SystemWrapper.IO.FileStreamWrap"/> class for the specified file handle, with the specified read/write permission. 
 /// </summary>
 /// <param name="handle">A file handle for the file that the current FileStream object will encapsulate. </param>
 /// <param name="access">A FileAccess constant that sets the CanRead and CanWrite properties of the FileStream object. </param>
 public void Initialize(ISafeFileHandleWrap handle, FileAccess access)
 {
     FileStreamInstance = new FileStream(handle.SafeFileHandleInstance, access);
 }