React to HttpAbstractions changes

This commit is contained in:
David Fowler 2015-12-31 14:59:29 -08:00
parent d9e06f8e6e
commit 17615bef89
1 changed files with 10 additions and 0 deletions

View File

@ -98,5 +98,15 @@ namespace Microsoft.AspNet.Server.WebListener
}
}
}
public TFeature Get<TFeature>()
{
return (TFeature)this[typeof(TFeature)];
}
public void Set<TFeature>(TFeature instance)
{
this[typeof(TFeature)] = instance;
}
}
}