Table of Contents

Class CavityParameterDefinition

Namespace
Loehnert.TypeAndResult.Additional
Assembly
Loehnert.TypeAndResult.dll

Parameter definition for a cavity name, usually used with MeasureCycle.

[AdditionalParameter(typeof(MeasureCycle))]
public class CavityParameterDefinition : IAdditionalParameterDefinition
Inheritance
CavityParameterDefinition
Implements
Inherited Members

Examples

This example adds the CavityParameter to the MeasureCycle class.

[Export(typeof(IAdditionalParameterDefinition)]
[AdditionalParameter(typeof(MeasureCycle))]
public static IAdditionalParameterDefinition CavityParameter { get; } = new CavityParameterDefinition();

Properties

Converter

Gets a converter for Type to string.

public IAdditionalParameterConverter Converter { get; }

Property Value

IAdditionalParameterConverter

Default

Gets the default value for the column.

public object Default { get; }

Property Value

object

Description

Gets a translatable description.

public ITranslation Description { get; }

Property Value

ITranslation

Key

Gets the key ('Cavity').

public string Key { get; }

Property Value

string

Type

Gets the type of the value.

public Type Type { get; }

Property Value

Type

ValidationRules

Gets the rules for the value as string.

public IEnumerable<ValidationRule> ValidationRules { get; }

Property Value

IEnumerable<ValidationRule>