Zero Install .NET API 2.20.0
ZeroInstall.DesktopIntegration.ViewModel.CapabilityModel Class Reference

Wraps a DefaultCapability for data binding. More...

Inheritance diagram for ZeroInstall.DesktopIntegration.ViewModel.CapabilityModel:
ZeroInstall.DesktopIntegration.ViewModel.IconCapabilityModel ZeroInstall.DesktopIntegration.ViewModel.AutoPlayModel ZeroInstall.DesktopIntegration.ViewModel.ContextMenuModel ZeroInstall.DesktopIntegration.ViewModel.DefaultProgramModel ZeroInstall.DesktopIntegration.ViewModel.FileTypeModel ZeroInstall.DesktopIntegration.ViewModel.UrlProtocolModel

Protected Member Functions

 CapabilityModel (DefaultCapability capability, bool used)
 Creates a new instance. More...
 

Properties

DefaultCapability Capability [get]
 The wrapped Capability.
 
bool Use [getset]
 Indicates whether the CapabilityModel.Capability shall be used or not.
 
bool Changed [get]
 Indicates whether the Use of the CapabilityModel.Capability has been changed.
 

Detailed Description

Wraps a DefaultCapability for data binding.

Constructor & Destructor Documentation

◆ CapabilityModel()

ZeroInstall.DesktopIntegration.ViewModel.CapabilityModel.CapabilityModel ( DefaultCapability  capability,
bool  used 
)
inlineprotected

Creates a new instance.

Parameters
capabilityThat shall be wrapped.
usedIndicates whether the Capability was already used.

The documentation for this class was generated from the following file: