Table of Contents

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 DefaultCapability

That shall be wrapped.

used bool

Indicates whether the Capability was already used.

Properties

Capability

The wrapped Capability.

[Browsable(false)]
public DefaultCapability Capability { get; }

Property Value

DefaultCapability

Changed

Indicates whether the Use of the Capability has been changed.

[Browsable(false)]
public bool Changed { get; }

Property Value

bool

Use

Indicates whether the Capability shall be used or not.

public bool Use { get; set; }

Property Value

bool