Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Packages.Package.RemoveAsync Method

Removes a package, including data, files and the assembly implementing the package.

Class: YetaWF.Core.Packages.Package
Namespace: YetaWF.Core.Packages
Assembly: YetaWF.Core

Syntax

public Task<bool> RemoveAsync(
    string packageName,
    List<string> errorList );

Parameters

packageName

The package name (e.g., YetaWF.Text).

errorList

A collection of messages.

Return Value

Returns true if successful, false otherwise.

Remarks

If assemblies are in use, they may not be removed by this method.

The package is removed from the website. Source code implementing the assembly and any project references are not removed.

See Also YetaWF.Core.Packages.Package ClassYetaWF.Core Overview