Exemplo n.º 1
0
 /// <summary>
 /// Initializes an instance of <see cref="WorkspaceFileSystemDirectoryWrapper" />.
 /// </summary>
 public WorkspaceFileSystemDirectoryWrapper(WorkspaceFileSystemWrapperFactory factory, DirectoryInfo directoryInfo, int depth)
 {
     _concreteDirectoryInfo = directoryInfo;
     _isParentPath          = depth == 0;
     _fsWrapperFactory      = factory;
     _depth = depth;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes instance of <see cref="FileInfoWrapper" /> to wrap the specified object <see cref="FileInfo" />.
 /// </summary>
 public WorkspaceFileSystemFileInfoWrapper(WorkspaceFileSystemWrapperFactory factory, FileInfo fileInfo, int depth)
 {
     _fsWrapperFactory = factory;
     _concreteFileInfo = fileInfo;
     _depth            = depth;
 }