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
public IAdditionalParameterConverter Converter { get; }
Property Value
Default
Gets the default value for the column.
public object Default { get; }
Property Value
Description
Gets a translatable description.
public ITranslation Description { get; }
Property Value
- ITranslation
Key
Gets the key ('Cavity').
public string Key { get; }
Property Value
Type
Gets the type of the value.
public Type Type { get; }
Property Value
ValidationRules
Gets the rules for the value as string.
public IEnumerable<ValidationRule> ValidationRules { get; }