Interface IValueConnector2
Namespace: Umbraco.Cms.Core.Deploy
Assembly: Umbraco.Core.dll
Syntax
public interface IValueConnector2 : IValueConnector
Remarks
This interface will be merged back into IValue
Methods
View SourceFromArtifact(String, IPropertyType, Object, IContextCache)
Gets the content property value corresponding to a deploy property value.
Declaration
object FromArtifact(string value, IPropertyType propertyType, object currentValue, IContextCache contextCache)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The deploy property value. |
IProperty |
propertyType | The value property type |
System. |
currentValue | The current content property value. |
IContext |
contextCache | The context cache. |
Returns
Type | Description |
---|---|
System. |
The content property value. |
ToArtifact(Object, IPropertyType, ICollection<ArtifactDependency>, IContextCache)
Gets the deploy property value corresponding to a content property value, and gather dependencies.
Declaration
string ToArtifact(object value, IPropertyType propertyType, ICollection<ArtifactDependency> dependencies, IContextCache contextCache)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The content property value. |
IProperty |
propertyType | The value property type |
ICollection<Artifact |
dependencies | The content dependencies. |
IContext |
contextCache | The context cache. |
Returns
Type | Description |
---|---|
System. |
The deploy property value. |
Explicit Interface Implementations
View SourceIValueConnector.FromArtifact(String, IPropertyType, Object)
Gets the content property value corresponding to a deploy property value.
Declaration
object IValueConnector.FromArtifact(string value, IPropertyType propertyType, object currentValue)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The deploy property value. |
IProperty |
propertyType | The value property type |
System. |
currentValue | The current content property value. |
Returns
Type | Description |
---|---|
System. |
The content property value. |
IValueConnector.ToArtifact(Object, IPropertyType, ICollection<ArtifactDependency>)
Gets the deploy property value corresponding to a content property value, and gather dependencies.
Declaration
string IValueConnector.ToArtifact(object value, IPropertyType propertyType, ICollection<ArtifactDependency> dependencies)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The content property value. |
IProperty |
propertyType | The value property type |
ICollection<Artifact |
dependencies | The content dependencies. |
Returns
Type | Description |
---|---|
System. |
The deploy property value. |