Interface IDataTypeConfigurationConnector2
Namespace: Umbraco.Cms.Core.Deploy
Assembly: Umbraco.Core.dll
Syntax
public interface IDataTypeConfigurationConnector2 : IDataTypeConfigurationConnector
Remarks
This interface will be merged back into IDataTypeConfigurationConnector and removed in Umbraco 13.
Methods
View SourceFromArtifact(IDataType, String, IContextCache)
Gets the data type configuration corresponding to an artifact configuration value.
Declaration
object FromArtifact(IDataType dataType, string configuration, IContextCache contextCache)
Parameters
Type | Name | Description |
---|---|---|
IDataType | dataType | The data type. |
System.String | configuration | The artifact configuration value. |
IContextCache | contextCache | The context cache. |
Returns
Type | Description |
---|---|
System.Object | The data type configuration. |
ToArtifact(IDataType, ICollection<ArtifactDependency>, IContextCache)
Gets the artifact configuration value corresponding to a data type configuration and gather dependencies.
Declaration
string ToArtifact(IDataType dataType, ICollection<ArtifactDependency> dependencies, IContextCache contextCache)
Parameters
Type | Name | Description |
---|---|---|
IDataType | dataType | The data type. |
ICollection<ArtifactDependency> | dependencies | The dependencies. |
IContextCache | contextCache | The context cache. |
Returns
Type | Description |
---|---|
System.String | The artifact configuration value. |
Explicit Interface Implementations
View SourceIDataTypeConfigurationConnector.FromArtifact(IDataType, String)
Gets the data type configuration corresponding to an artifact configuration value.
Declaration
object IDataTypeConfigurationConnector.FromArtifact(IDataType dataType, string configuration)
Parameters
Type | Name | Description |
---|---|---|
IDataType | dataType | The data type. |
System.String | configuration | The artifact configuration value. |
Returns
Type | Description |
---|---|
System.Object | The data type configuration. |
IDataTypeConfigurationConnector.ToArtifact(IDataType, ICollection<ArtifactDependency>)
Gets the artifact configuration value corresponding to a data type configuration and gather dependencies.
Declaration
string IDataTypeConfigurationConnector.ToArtifact(IDataType dataType, ICollection<ArtifactDependency> dependencies)
Parameters
Type | Name | Description |
---|---|---|
IDataType | dataType | The data type. |
ICollection<ArtifactDependency> | dependencies | The dependencies. |
Returns
Type | Description |
---|---|
System.String | The artifact configuration value. |