Use correct service name in obsoletion method (#19398)

Use correct service in obsoletion method
This commit is contained in:
Mole
2025-05-23 11:46:16 +02:00
committed by GitHub
parent 3f10bd8c21
commit feba51a49d

View File

@@ -101,7 +101,7 @@ public interface IPublishedCache
/// </summary>
/// <param name="id">The content type unique identifier.</param>
/// <returns>The content type, or null.</returns>
[Obsolete("Please use the IContentTypeCacheService instead, scheduled for removal in V16")]
[Obsolete("Please use the IPublishedContentTypeCache instead, scheduled for removal in V16")]
IPublishedContentType? GetContentType(int id);
/// <summary>
@@ -110,7 +110,7 @@ public interface IPublishedCache
/// <param name="alias">The content type alias.</param>
/// <returns>The content type, or null.</returns>
/// <remarks>The alias is case-insensitive.</remarks>
[Obsolete("Please use the IContentTypeCacheService instead, scheduled for removal in V16")]
[Obsolete("Please use the IPublishedContentTypeCache instead, scheduled for removal in V16")]
IPublishedContentType? GetContentType(string alias);
/// <summary>
@@ -126,6 +126,6 @@ public interface IPublishedCache
/// </summary>
/// <param name="key">The content type key.</param>
/// <returns>The content type, or null.</returns>
[Obsolete("Please use the IContentTypeCacheService instead, scheduled for removal in V16")]
[Obsolete("Please use the IPublishedContentTypeCache instead, scheduled for removal in V16")]
IPublishedContentType? GetContentType(Guid key);
}