C# Class ZeroInstall.Store.ViewModel.TempDirectoryNode

Models information about a temporary directory in an IStore for display in a UI.
Inheritance: StoreNode
显示文件 Open project: 0install/0install-win

Public Methods

Method Description
Delete ( ITaskHandler handler ) : void

Deletes this temporary directory from the IStore it is located in.

TempDirectoryNode ( [ path, [ store ) : System

Creates a new temporary directory node.

Method Details

Delete() public method

Deletes this temporary directory from the IStore it is located in.
The directory could be found in the store. The directory could not be deleted. Write access to the store is not permitted.
public Delete ( ITaskHandler handler ) : void
handler ITaskHandler A callback object used when the the user needs to be asked questions or informed about IO tasks.
return void

TempDirectoryNode() public method

Creates a new temporary directory node.
The manifest file is not valid. The manifest file could not be read. Read access to the file is not permitted.
public TempDirectoryNode ( [ path, [ store ) : System
path [ The path of the directory in the store.
store [ The the directory is located in.
return System