Table of Contents

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

ownerWindow Func<nint>

Methods

DeletePermanently(string)

Deletes a resolved path permanently; throws on failure.

public void DeletePermanently(string finalPath)

Parameters

finalPath string

Exists(string)

Whether a file or folder exists at the path.

public bool Exists(string path)

Parameters

path string

Returns

bool

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

finalPath string

Returns

bool

MoveToRecycleBin(IReadOnlyList<string>)

Moves resolved paths to the Recycle Bin.

public void MoveToRecycleBin(IReadOnlyList<string> finalPaths)

Parameters

finalPaths IReadOnlyList<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

path string

Returns

string