Struct FileSystemScope
Use this class to create scope for the filesystem. Sets RemoteDirectory and LocalDirectory properties and resets the to their original values at the end of the scope.
Implements
Namespace: ABB.Robotics.Controllers.FileSystemDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public struct FileSystemScope : IDisposable
Constructors
FileSystemScope(FileSystem, String, String)
Initializes a new instance of the FileSystemScope class. To leave a property as is, set the matching parameter to null.
Declaration
public FileSystemScope(FileSystem fileSystem, string remoteDirectory, string localDirectory)
Parameters
Type | Name | Description |
---|---|---|
FileSystem | fileSystem | The file system. |
String | remoteDirectory | The remote directory. |
String | localDirectory | The local directory. |
Explicit Interface Implementations
IDisposable.Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
void IDisposable.Dispose()