From ed44c76fa04f6e113c1bda4ea79321a37c1246e4 Mon Sep 17 00:00:00 2001 From: Zeegaan Date: Wed, 6 Jul 2022 12:56:29 +0200 Subject: [PATCH] Obsolete trycreate method --- src/Umbraco.Core/Models/CultureImpact.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Core/Models/CultureImpact.cs b/src/Umbraco.Core/Models/CultureImpact.cs index 1dcb8c07d8..684f1d058c 100644 --- a/src/Umbraco.Core/Models/CultureImpact.cs +++ b/src/Umbraco.Core/Models/CultureImpact.cs @@ -237,7 +237,8 @@ public sealed class CultureImpact /// /// Validates that the culture is compatible with the variation. /// - // TODO: Remove this once Create() can be removed (V12), this already lives in CultureImpactService + // Remove this once Create() can be removed (V12), this already lives in CultureImpactFactory + [Obsolete("Please use the CultureImpactFactory instead, scheduled for removal in v12")] internal static bool TryCreate(string culture, bool isDefault, ContentVariation variation, bool throwOnFail, bool editInvariantFromNonDefault, out CultureImpact? impact) {