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
-
PropertyChangedBaseAdditionalParametersViewModel<T, TParameter>
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Properties
ParameterWithDefinition
Gets the additional parameters with its definition.
public ICollection<AdditionalParameterAndDefinitionPair> ParameterWithDefinition { get; }
Property Value
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.