Class Win32SourceDeleteOperations
- Namespace
- Archiver.App.Core
- Assembly
- Archiver.App.Core.dll
Real ISourceDeleteOperations over Win32 (T-F207).
public sealed class Win32SourceDeleteOperations : ISourceDeleteOperations
- Inheritance
-
Win32SourceDeleteOperations
- Implements
- Inherited Members
Constructors
Win32SourceDeleteOperations(Func<nint>)
Real ISourceDeleteOperations over Win32 (T-F207).
public Win32SourceDeleteOperations(Func<nint> ownerWindow)
Parameters
Methods
DeletePermanently(string)
Deletes a resolved path permanently; throws on failure.
public void DeletePermanently(string finalPath)
Parameters
finalPathstring
Exists(string)
Whether a file or folder exists at the path.
public bool Exists(string path)
Parameters
pathstring
Returns
IsOnFixedLocalVolume(string)
True only when a resolved path lies on a fixed local volume (one with a Recycle Bin).
public bool IsOnFixedLocalVolume(string finalPath)
Parameters
finalPathstring
Returns
MoveToRecycleBin(IReadOnlyList<string>)
Moves resolved paths to the Recycle Bin.
public void MoveToRecycleBin(IReadOnlyList<string> finalPaths)
Parameters
finalPathsIReadOnlyList<string>
ResolveFinalPath(string)
The path with SUBST drives, mapped drives and intermediate links resolved, or null when it cannot be opened.
public string? ResolveFinalPath(string path)
Parameters
pathstring