Class AdditionalParameterAndDefinitionPair
- Namespace
- Loehnert.Lisrt.TypeAndResult.UserControls
- Assembly
- Loehnert.Lisrt.TypeAndResult.dll
Represents an additional parameter with its definition as view model helper.
public class AdditionalParameterAndDefinitionPair : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IDataErrorInfo
- Inheritance
-
PropertyChangedBaseAdditionalParameterAndDefinitionPair
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
AdditionalParameterAndDefinitionPair(IAdditionalParameterDefinition)
Initializes a new instance of the AdditionalParameterAndDefinitionPair class.
public AdditionalParameterAndDefinitionPair(IAdditionalParameterDefinition definition)
Parameters
definition
IAdditionalParameterDefinitionDefinition for an AdditionalParameter.
Exceptions
- ArgumentNullException
Thrown when
definition
is null.
Properties
Definition
Gets the AdditionalParameter definition.
public IAdditionalParameterDefinition Definition { get; }
Property Value
Error
Gets an error message indicating what is wrong with this object.
public string Error { get; }
Property Value
- string
An error message indicating what is wrong with this object. The default is an empty string ("").
this[string]
Gets the error message for the property with the given name.
public string this[string columnName] { get; }
Parameters
columnName
stringThe name of the property whose error message to get.
Property Value
- string
The error message for the property. The default is an empty string ("").
Parameter
Gets or sets the AdditionalParameter defined by the Definition.
public AdditionalParameter Parameter { get; set; }
Property Value
Text
Gets or sets the Parameter text, converted by the Definition.
public string Text { get; set; }