Table of Contents

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
PropertyChangedBase
AdditionalParameterAndDefinitionPair
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

AdditionalParameterAndDefinitionPair(IAdditionalParameterDefinition)

Initializes a new instance of the AdditionalParameterAndDefinitionPair class.

public AdditionalParameterAndDefinitionPair(IAdditionalParameterDefinition definition)

Parameters

definition IAdditionalParameterDefinition

Definition for an AdditionalParameter.

Exceptions

ArgumentNullException

Thrown when definition is null.

Properties

Definition

Gets the AdditionalParameter definition.

public IAdditionalParameterDefinition Definition { get; }

Property Value

IAdditionalParameterDefinition

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 string

The 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

AdditionalParameter

Text

Gets or sets the Parameter text, converted by the Definition.

public string Text { get; set; }

Property Value

string