Class CapabilityModelExtensions
- Namespace
- ZeroInstall.DesktopIntegration.ViewModel
- Assembly
- ZeroInstall.DesktopIntegration.dll
Contains extension methods for CapabilityModelBindingList<T>s.
public static class CapabilityModelExtensions
- Inheritance
-
CapabilityModelExtensions
- Inherited Members
Methods
SetAllUse<T>(BindingList<T>, bool)
Sets all Use values within a list/model to a specific value.
public static void SetAllUse<T>(this BindingList<T> model, bool value) where T : CapabilityModel
Parameters
model
BindingList<T>A model representing the underlying DefaultCapabilitys and their selection states.
value
boolThe value to set.
Type Parameters
T
The specific kind of DefaultAccessPoint to handle.