Class MetadataMappingConfiguration
Class for holding the active configuration for allowed metadata-mapping
Inheritance
System.Object
MetadataMappingConfiguration
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()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Conversion
Assembly: ImageVault.Core.dll
Syntax
public class MetadataMappingConfiguration
Constructors
MetadataMappingConfiguration()
Declaration
protected MetadataMappingConfiguration()
Fields
DefaultMappings
The allowed MetadataType mappings. (Name: [target metadata type], Value: [allowed source metadata types])
Declaration
public static NameValueConfigurationCollection DefaultMappings
Field Value
Type | Description |
---|---|
System.Configuration.NameValueConfigurationCollection |
Methods
IsValidMapping(MetadataTypes, MetadataTypes)
Returns true if MetadataType, source, is configured to be mapped to MetadataType, target.
Declaration
public static bool IsValidMapping(MetadataTypes source, MetadataTypes target)
Parameters
Type | Name | Description |
---|---|---|
MetadataTypes | source | The source MetadataType to map from |
MetadataTypes | target | The target MetadataType to map |
Returns
Type | Description |
---|---|
System.Boolean | True or False |