/// <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); }
public void Initialize(ISafeFileHandleWrap handle, FileAccess access, int bufferSize, bool isAsync) { FileStreamInstance = new FileStream(handle.SafeFileHandleInstance, access, bufferSize, isAsync); }
/// <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(); }
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(); }
public FileStreamWrap(ISafeFileHandleWrap handle, FileAccess access, int bufferSize, bool isAsync) { Initialize(handle, access, bufferSize, isAsync); }
/// <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) { FileStreamInstance = new FileStream(handle.SafeFileHandleInstance, access, bufferSize, isAsync); }
/// <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); }