Class CapabilityModel
- Namespace
- ZeroInstall.DesktopIntegration.ViewModel
- Assembly
- ZeroInstall.DesktopIntegration.dll
Wraps a DefaultCapability for data binding.
public abstract class CapabilityModel
- Inheritance
-
CapabilityModel
- Derived
- Inherited Members
Constructors
CapabilityModel(DefaultCapability, bool)
Creates a new instance.
protected CapabilityModel(DefaultCapability capability, bool used)
Parameters
capability
DefaultCapabilityThat shall be wrapped.
used
boolIndicates whether the Capability was already used.
Properties
Capability
The wrapped Capability.
[Browsable(false)]
public DefaultCapability Capability { get; }
Property Value
Changed
Indicates whether the Use of the Capability has been changed.
[Browsable(false)]
public bool Changed { get; }
Property Value
Use
Indicates whether the Capability shall be used or not.
public bool Use { get; set; }