C# Class ZeroInstall.DesktopIntegration.ViewModel.IntegrationState

A View-Model for modifying desktop integration. Provides data-binding lists and applies modifications in bulk.
Mostra file Open project: 0install/0install-win Class Usage Examples

Public Properties

Property Type Description
Aliases BindingList
AutoStarts BindingList
DesktopIcons BindingList
MenuEntries BindingList
SendTo BindingList

Private Properties

Property Type Description
CollectCommandAccessPointChanges void
LoadCommandAccessPoints void

Public Methods

Method Description
ApplyChanges ( ) : void

Applies any changes made to the View-Model to the underlying system.

IntegrationState ( [ integrationManager, [ appEntry, [ feed ) : System

Creates a new integration state View-Model.

Private Methods

Method Description
CollectCommandAccessPointChanges ( ICollection toAdd, ICollection toRemove ) : void
LoadCommandAccessPoints ( ) : void

Reads the CommandAccessPoints from DesktopIntegration.AppEntry.AccessPoints or uses suggestion methods to fill in defaults.

Method Details

ApplyChanges() public method

Applies any changes made to the View-Model to the underlying system.
The user canceled the task. One or more of the new s would cause a conflict with the existing s in . One of the s or s is invalid. A problem occured while downloading additional data (such as icons). A problem occurs while writing to the filesystem or registry. Write access to the filesystem or registry is not permitted.
public ApplyChanges ( ) : void
return void

IntegrationState() public method

Creates a new integration state View-Model.
public IntegrationState ( [ integrationManager, [ appEntry, [ feed ) : System
integrationManager [ The integration manager used to apply selected integration options.
appEntry [ The application being integrated.
feed [ The feed providing additional metadata, icons, etc. for the application.
return System

Property Details

Aliases public_oe property

public BindingList Aliases
return BindingList

AutoStarts public_oe property

public BindingList AutoStarts
return BindingList

DesktopIcons public_oe property

public BindingList DesktopIcons
return BindingList

MenuEntries public_oe property

public BindingList MenuEntries
return BindingList

SendTo public_oe property

public BindingList SendTo
return BindingList