Merge remote-tracking branch 'origin/6.2.0' into 7.0.0

Conflicts:
	src/Umbraco.Core/Services/PackagingService.cs
	src/Umbraco.Web/Mvc/UmbracoViewPage.cs
	src/Umbraco.Web/Umbraco.Web.csproj
This commit is contained in:
Shannon
2013-10-28 11:03:14 +11:00
13 changed files with 823 additions and 247 deletions

View File

@@ -278,6 +278,11 @@ namespace Umbraco.Core
return typeof (TBase).IsAssignableFrom(type);
}
public static bool Inherits(this Type type, Type tbase)
{
return tbase.IsAssignableFrom(type);
}
public static bool Implements<TInterface>(this Type type)
{
return typeof (TInterface).IsAssignableFrom(type);