From 6490f57f70e07c9aba5b4fd3b7bdf40b1bbf73a8 Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Thu, 3 Jan 2019 10:53:33 +0100 Subject: [PATCH] Removed commented out code. --- src/Umbraco.Core/ContentExtensions.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Umbraco.Core/ContentExtensions.cs b/src/Umbraco.Core/ContentExtensions.cs index 632036a21e..15ba6b1a22 100644 --- a/src/Umbraco.Core/ContentExtensions.cs +++ b/src/Umbraco.Core/ContentExtensions.cs @@ -156,16 +156,6 @@ namespace Umbraco.Core .Contains(property.PropertyTypeId)); } -// public static IContentTypeComposition GetContentType(this IContentBase contentBase) -// { -// if (contentBase == null) throw new ArgumentNullException(nameof(contentBase)); -// -// if (contentBase is IContent content) return content.ContentType; -// if (contentBase is IMedia media) return media.ContentType; -// if (contentBase is IMember member) return member.ContentType; -// throw new NotSupportedException("Unsupported IContentBase implementation: " + contentBase.GetType().FullName + "."); -// } - #region SetValue for setting file contents ///