Work items: 30050
This commit is contained in:
@@ -21,7 +21,7 @@ namespace umbraco.BusinessLogic.Utils
|
||||
/// Searches all loaded assemblies for classes marked with the attribute passed in.
|
||||
/// </summary>
|
||||
/// <returns>A list of found types</returns>
|
||||
public static List<Type> FindClassesMarkedWithAttribute(Type attribute)
|
||||
public static IEnumerable<Type> FindClassesMarkedWithAttribute(Type attribute)
|
||||
{
|
||||
List<Type> types = new List<Type>();
|
||||
bool searchGAC = false;
|
||||
@@ -42,7 +42,7 @@ namespace umbraco.BusinessLogic.Utils
|
||||
types.AddRange(FindClassesMarkedWithAttribute(Assembly.Load("App_Code"), attribute));
|
||||
}
|
||||
|
||||
return types;
|
||||
return types.Distinct();
|
||||
}
|
||||
|
||||
static IEnumerable<Type> FindClassesMarkedWithAttribute(Assembly assembly, Type attribute)
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<ExamineLuceneIndexSets configSource="config\ExamineIndex.config" />
|
||||
<appSettings>
|
||||
<add key="umbracoDbDSN" value="server=.\sqlexpress;database=v452;integrated security=false;user id=DBUSER;password=DBPASSWORD" />
|
||||
<add key="umbracoConfigurationStatus" value="4.6.1" />
|
||||
<add key="umbracoConfigurationStatus" value="4.5.2.beta" />
|
||||
<add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd" />
|
||||
<add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
|
||||
<add key="umbracoContentXML" value="~/App_Data/umbraco.config" />
|
||||
|
||||
Reference in New Issue
Block a user