From b46f7bbf11caeccf9f74399dcc093d48b1f8bf31 Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Mon, 4 Nov 2024 14:09:03 +0100 Subject: [PATCH] Add ContentKey to IBlockReference and obsolete ContentUdi (#17365) --- 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 2505183efa..5ca0fd4788 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; } } ///