Exemplo n.º 1
0
 /// <summary>
 /// Creates a new C1FileStream.
 /// </summary>
 /// <param name="path">Path to file.</param>
 /// <param name="mode">File mode to use.</param>
 /// <param name="access">File access to use.</param>
 /// <param name="share">File share to use.</param>
 /// <param name="bufferSize">Buffer size to use.</param>
 /// <param name="options">File options to use.</param>
 public C1FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
 {
     _implementation = new ImplementationContainer <C1FileStreamImplementation>(() => ImplementationFactory.CurrentFactory.CreateC1FileStream(path, mode, access, share, bufferSize, options));
     _implementation.CreateImplementation();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new C1FileStream.
 /// </summary>
 /// <param name="path">Path to file.</param>
 /// <param name="mode">File mode to use.</param>
 /// <param name="access">File access to use.</param>
 /// <param name="share">File share to use.</param>
 /// <param name="bufferSize">Buffer size to use.</param>
 /// <param name="options">File options to use.</param>
 public C1FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
 {
     _implementation = new ImplementationContainer<C1FileStreamImplementation>(() => ImplementationFactory.CurrentFactory.CreateC1FileStream(path, mode, access, share, bufferSize, options));
     _implementation.CreateImplementation();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates and initialize a new C1DirectoryInfo.
 /// </summary>
 /// <param name="path">Path to use.</param>
 public C1DirectoryInfo(string path)
 {
     _implementation = new ImplementationContainer<C1DirectoryInfoImplementation>(() => ImplementationFactory.CurrentFactory.CreateC1DirectoryInfo(path));
     _implementation.CreateImplementation();
 }
 /// <summary>
 /// Creates and initialize a new C1DirectoryInfo.
 /// </summary>
 /// <param name="path">Path to use.</param>
 public C1DirectoryInfo(string path)
 {
     _implementation = new ImplementationContainer <C1DirectoryInfoImplementation>(() => ImplementationFactory.CurrentFactory.CreateC1DirectoryInfo(path));
     _implementation.CreateImplementation();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Creates a C1FileInfo.
 /// </summary>
 /// <param name="fileName">Path to file.</param>
 public C1FileInfo(string fileName)
 {
     _implementation = new ImplementationContainer<C1FileInfoImplementation>(() => ImplementationFactory.CurrentFactory.CreateC1FileInfo(fileName));
     _implementation.CreateImplementation();
 }
Exemplo n.º 6
0
 /// <summary>
 /// Creates a C1FileInfo.
 /// </summary>
 /// <param name="fileName">Path to file.</param>
 public C1FileInfo(string fileName)
 {
     _implementation = new ImplementationContainer <C1FileInfoImplementation>(() => ImplementationFactory.CurrentFactory.CreateC1FileInfo(fileName));
     _implementation.CreateImplementation();
 }