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

Contains extension methods for CapabilityModel BindingList<T>s. More...

Static Public Member Functions

static void SetAllUse< T > (this BindingList< T > model, bool value)
 Sets all CapabilityModel.Use values within a list/model to a specific value. More...
 

Detailed Description

Contains extension methods for CapabilityModel BindingList<T>s.

Member Function Documentation

◆ SetAllUse< T >()

static void ZeroInstall.DesktopIntegration.ViewModel.CapabilityModelExtensions.SetAllUse< T > ( this BindingList< T >  model,
bool  value 
)
inlinestatic

Sets all CapabilityModel.Use values within a list/model to a specific value.

Template Parameters
TThe specific kind of DesktopIntegration.AccessPoints.DefaultAccessPoint to handle.
Parameters
modelA model representing the underlying DefaultCapabilitys and their selection states.
valueThe value to set.
Type Constraints
T :CapabilityModel 

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