Class MetadataDecimal
Summary description for MetadataDecimal.
Inherited Members
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class MetadataDecimal : Metadata
Constructors
MetadataDecimal()
Initializes a new instance of the MetadataDecimal class.
Declaration
public MetadataDecimal()
MetadataDecimal(MetadataDecimal)
Initializes a new instance of the MetadataDecimal class.
Declaration
public MetadataDecimal(MetadataDecimal metadataDecimal)
Parameters
Type | Name | Description |
---|---|---|
MetadataDecimal | metadataDecimal |
MetadataDecimal(MetadataDefinition, Nullable<Int32>, Boolean, Boolean, Boolean, Boolean)
Initializes a new instance of the MetadataDecimal class.
Declaration
public MetadataDecimal(MetadataDefinition definition, Nullable<int> languageId, bool isMandantory, bool isTitle, bool isAltText, bool isDefinedInVault)
Parameters
Type | Name | Description |
---|---|---|
MetadataDefinition | definition | |
System.Nullable<System.Int32> | languageId | |
System.Boolean | isMandantory | |
System.Boolean | isTitle | |
System.Boolean | isAltText | |
System.Boolean | isDefinedInVault |
Properties
DecimalValue
Get/Sets the DecimalValue of the MetadataDecimal
Declaration
public Nullable<Decimal> DecimalValue { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> |
InnerValue
Get/Sets the InnerValue of the MetadataDecimal
Declaration
protected override object InnerValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
Methods
Parse(String)
Parses the supplied value and assigns it to the metadata
Declaration
public override void Parse(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Overrides
Exceptions
Type | Condition |
---|---|
System.ComponentModel.DataAnnotations.ValidationException | If the value is not a valid decimal. |