Interface IDataTypeConfigurationConnector
Defines methods that can convert data type configuration to / from an environment-agnostic string.
Namespace: Umbraco.Cms.Core.Deploy
Assembly: Umbraco.Core.dll
Syntax
public interface IDataTypeConfigurationConnector
Remarks
Configuration may contain values such as content identifiers, that would be local to one environment, and need to be converted in order to be deployed.
Properties
View SourcePropertyEditorAliases
Gets the property editor aliases that the value converter supports by default.
Declaration
IEnumerable<string> PropertyEditorAliases { get; }
Property Value
Type | Description |
---|---|
IEnumerable<System.String> |
Methods
View SourceFromArtifact(IDataType, String)
Gets the actual datatype configuration corresponding to the artifact configuration.
Declaration
object FromArtifact(IDataType dataType, string configuration)
Parameters
Type | Name | Description |
---|---|---|
IDataType | dataType | The datatype. |
System.String | configuration | The artifact configuration. |
Returns
Type | Description |
---|---|
System.Object |
ToArtifact(IDataType, ICollection<ArtifactDependency>)
Gets the artifact datatype configuration corresponding to the actual datatype configuration.
Declaration
string ToArtifact(IDataType dataType, ICollection<ArtifactDependency> dependencies)
Parameters
Type | Name | Description |
---|---|---|
IDataType | dataType | The datatype. |
ICollection<ArtifactDependency> | dependencies | The dependencies. |
Returns
Type | Description |
---|---|
System.String |