/// <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; }
/// <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; }