Skip to content

Commit b46f7bb

Browse files
authored
Add ContentKey to IBlockReference and obsolete ContentUdi (#17365)
1 parent 0505ff5 commit b46f7bb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Umbraco.Core/Models/Blocks/IBlockReference.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ public interface IBlockReference
1818
/// <value>
1919
/// The content UDI.
2020
/// </value>
21+
[Obsolete("Use ContentKey instead. Will be removed in V18.")]
2122
Udi ContentUdi { get; }
23+
24+
/// <summary>
25+
/// Gets the content key.
26+
/// </summary>
27+
public Guid ContentKey { get; set; }
2228
}
2329

2430
/// <summary>

0 commit comments

Comments
 (0)