Class BaseTypeParameterDefinition
Additional parameter definition for a base type name usually used with the TypeData class to inherit type data.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: Loehnert.TypeAndResult.Additional
Assembly: Loehnert.TypeAndResult.dll
Syntax
[AdditionalParameter(typeof(TypeData))]
public class BaseTypeParameterDefinition : IAdditionalParameterDefinition
Examples
This example adds the BaseTypeParameter to the TypeData class.
[Export(typeof(IAdditionalParameterDefinition))]
[AdditionalParameter(typeof(TypeData))]
internal static IAdditionalParameterDefinition BaseTypeParameter { get; } = new BaseTypeParameterDefinition();
Properties
Converter
Declaration
public IAdditionalParameterConverter Converter { get; }
Property Value
Type | Description |
---|---|
IAdditionalParameterConverter |
Default
Gets the default value for the column.
Declaration
public object Default { get; }
Property Value
Type | Description |
---|---|
Object |
Description
Gets a translatable description.
Declaration
public ITranslation Description { get; }
Property Value
Type | Description |
---|---|
Gu.Localization.ITranslation |
Key
Gets the key ('BaseType').
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
String |
Type
Gets the type of the value.
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
System.Type |
ValidationRules
Gets the rules for the value as string.
Declaration
public IEnumerable<ValidationRule> ValidationRules { get; }
Property Value
Type | Description |
---|---|
IEnumerable<System.Windows.Controls.ValidationRule> |