Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Replaced use of ADATS with ITypeCatalog inside the bootstrapperbase #2222

Conversation

thecodejunkie
Copy link
Member

Changed NancyBootstrappeBase<T> to make use of the new AssemblyCatalog and TypeCatalog properties that were added by #2217. This makes the main class free of all AppDomainAssemblyTypeScan uses.

@@ -187,7 +187,7 @@ protected virtual IEnumerable<Type> BodyDeserializers
/// </summary>
protected virtual IEnumerable<Type> ApplicationStartupTasks
{
get { return AppDomainAssemblyTypeScanner.TypesOf<IApplicationStartup>(); }
get { return this.typeCatalog.GetTypesAssignableTo<IApplicationStartup>(); }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use TypeCatalog

grumpydev added a commit that referenced this pull request Feb 3, 2016
…otstrapperbase

Replaced use of ADATS with ITypeCatalog inside the bootstrapperbase
@grumpydev grumpydev merged commit fade252 into NancyFx:master Feb 3, 2016
@thecodejunkie thecodejunkie deleted the remove-adats-from-nancybootstrapperbase branch February 17, 2016 07:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants