Table of Contents

Class AdditionalParametersViewModel<T, TParameter>

Namespace
Loehnert.Lisrt.TypeAndResult.UserControls.ViewModels
Assembly
Loehnert.Lisrt.TypeAndResult.dll

View model for additional parameters.

public class AdditionalParametersViewModel<T, TParameter> : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged where TParameter : AdditionalParameter

Type Parameters

T

The type of the class where the additional parameters are added on.

TParameter

The type of the additional parameters.

Inheritance
PropertyChangedBase
AdditionalParametersViewModel<T, TParameter>
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Properties

ParameterWithDefinition

Gets the additional parameters with its definition.

public ICollection<AdditionalParameterAndDefinitionPair> ParameterWithDefinition { get; }

Property Value

ICollection<AdditionalParameterAndDefinitionPair>

Methods

UpdateParameterValues(IKeyItemCollection<TParameter>)

Adds parameters to the ParameterWithDefinition. All ParameterWithDefinition will be null, if parameters is null or empty.

public void UpdateParameterValues(IKeyItemCollection<TParameter> parameters)

Parameters

parameters IKeyItemCollection<TParameter>

Parameters to add.