Skip to content

Commit 42f8a7d

Browse files
authored
Merge pull request #47 from mattbrailsford/patch-1
Make ToArtifact/FromArtifact virtual
2 parents 8f3978a + 6315608 commit 42f8a7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Umbraco.Deploy.Contrib.Connectors/ValueConnectors/BlockEditorValueConnector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public BlockEditorValueConnector(IContentTypeService contentTypeService, Lazy<Va
3737
_logger = logger;
3838
}
3939

40-
public string ToArtifact(object value, PropertyType propertyType, ICollection<ArtifactDependency> dependencies)
40+
public virtual string ToArtifact(object value, PropertyType propertyType, ICollection<ArtifactDependency> dependencies)
4141
{
4242
var svalue = value as string;
4343

@@ -117,7 +117,7 @@ public string ToArtifact(object value, PropertyType propertyType, ICollection<Ar
117117
return (string)value;
118118
}
119119

120-
public object FromArtifact(string value, PropertyType propertyType, object currentValue)
120+
public virtual object FromArtifact(string value, PropertyType propertyType, object currentValue)
121121
{
122122
if (string.IsNullOrWhiteSpace(value))
123123
{

0 commit comments

Comments
 (0)