Work items: 30050

This commit is contained in:
hartvig
2011-02-22 13:27:45 -01:00
parent 7be3314a11
commit d54b2416f0
2 changed files with 3 additions and 3 deletions

View File

@@ -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)

View File

@@ -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" />