|
OpenTAP 9.34
API Reference
|
Hidden CLI sub command tap package cache that allows clearing the package cache.
More...
Protected Member Functions | |
| override int | LockedExecute (CancellationToken cancellationToken) |
| When set, this action clears the package cache. | |
Protected Member Functions inherited from OpenTap.Package.LockingPackageAction | |
| int | LockedExecute (CancellationToken cancellationToken) |
| The code to be executed by the action while the Target directory is locked. | |
Protected Member Functions inherited from OpenTap.Package.PackageAction | |
| void | RaiseError (Exception ex) |
| Call this to raise the Error event. | |
| void | RaiseProgressUpdate (int progressPercent, string message) |
| Call this to raise the ProgressUpdate event. | |
Properties | |
| bool | ClearCache [get, set] |
| When set, this action clears the package cache. | |
Properties inherited from OpenTap.Package.LockingPackageAction | |
| bool | Unlocked [get, set] |
| Unlockes the package action to allow multiple running at the same time. | |
| string | Target [get, set] |
| The location to apply the command to. The default is the location of OpenTap.PackageManager.exe. | |
Additional Inherited Members | |
Public Member Functions inherited from OpenTap.Package.LockingPackageAction | |
| override int | Execute (CancellationToken cancellationToken) |
| Executes this the action. Derived types should override LockedExecute instead of this. | |
Public Member Functions inherited from OpenTap.Package.PackageAction | |
| delegate void | ProgressUpdateDelegate (int progressPercent, string message) |
| A delegate used by ProgressUpdate | |
| delegate void | ErrorDelegate (Exception ex) |
| A delegate type used by the Error event. | |
| int | Execute (CancellationToken cancellationToken) |
| The code to be executed by the action. | |
Public Member Functions inherited from OpenTap.Cli.ICliAction | |
Static Public Member Functions inherited from OpenTap.Package.LockingPackageAction | |
| static Mutex | GetMutex (string target) |
| Get the named mutex used to lock the specified OpenTAP installation directory while it is being changed. | |
| static bool | RunIsolated (string application=null, string target=null) |
| Only here for compatibility. Use IsolatedPackageAction instead of calling this. | |
Static Protected Attributes inherited from OpenTap.Package.PackageAction | |
| static TraceSource | log = OpenTap.Log.CreateSource("PackageAction") |
| Log source for PackageAction plugins. | |
Events inherited from OpenTap.Package.PackageAction | |
| ProgressUpdateDelegate | ProgressUpdate |
| Called by the action to indicate how far it has gotten. Will usually be called with a progressPercent of 100 to indicate that it is done. | |
| ErrorDelegate | Error |
| Called when a critical error happens. | |
Hidden CLI sub command tap package cache that allows clearing the package cache.
OpenTAP 9.34 API built Wed Jul 1 2026 09:21:15