C# Class ZeroInstall.Store.ViewModel.ImplementationNode

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

Private Properties

Property Type Description

Public Methods

Method Description
Delete ( ITaskHandler handler ) : void

Deletes this implementation from the IStore it is located in.

ToString ( ) : string

Returns the Node in the form "Digest". Safe for parsing!

Verify ( [ handler ) : void

Verify this implementation is undamaged.

Protected Methods

Method Description
ImplementationNode ( ManifestDigest digest, [ store ) : System

Creates a new implementation node.

Method Details

Delete() public method

Deletes this implementation from the IStore it is located in.
No matching implementation could be found in the . The implementation 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

ImplementationNode() protected method

Creates a new implementation node.
The manifest file is not valid. The manifest file could not be read. Read access to the file is not permitted.
protected ImplementationNode ( ManifestDigest digest, [ store ) : System
digest ManifestDigest The digest identifying the implementation.
store [ The the implementation is located in.
return System

ToString() public method

Returns the Node in the form "Digest". Safe for parsing!
public ToString ( ) : string
return string

Verify() public method

Verify this implementation is undamaged.
The user canceled the task. The entry's directory could not be processed. Read access to the entry's directory is not permitted.
public Verify ( [ handler ) : void
handler [ A callback object used when the the user needs to be asked questions or informed about IO tasks.
return void