From 4f384f178d2489467d63a3f8626d1cb8e25ccbd6 Mon Sep 17 00:00:00 2001 From: kjac Date: Fri, 25 Oct 2024 13:21:58 +0200 Subject: [PATCH] Add ContentKey to IBlockReference and obsolete ContentUdi --- src/Umbraco.Core/Models/Blocks/IBlockReference.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Umbraco.Core/Models/Blocks/IBlockReference.cs b/src/Umbraco.Core/Models/Blocks/IBlockReference.cs index 2505183efa6d..5ca0fd47886b 100644 --- a/src/Umbraco.Core/Models/Blocks/IBlockReference.cs +++ b/src/Umbraco.Core/Models/Blocks/IBlockReference.cs @@ -18,7 +18,13 @@ public interface IBlockReference /// /// The content UDI. /// + [Obsolete("Use ContentKey instead. Will be removed in V18.")] Udi ContentUdi { get; } + + /// + /// Gets the content key. + /// + public Guid ContentKey { get; set; } } ///