React to HttpAbstractions changes
This commit is contained in:
parent
d9e06f8e6e
commit
17615bef89
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue