diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-11-10 09:49:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-10 09:49:56 -0500 |
| commit | 43f3b6097fbc5bb17f281dae123553ee52ee0a37 (patch) | |
| tree | 3e6aba78db9452803edf552189e8659faf2d0b6a /MediaBrowser.Server.Implementations/HttpServer/ContainerAdapter.cs | |
| parent | b580209848e25f9de597a9797eae7a8813c4e3ab (diff) | |
| parent | 9b891f2c9a4f37e2a914dc8fc5faba4e919e2b8f (diff) | |
Merge pull request #2279 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/ContainerAdapter.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/ContainerAdapter.cs | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/ContainerAdapter.cs b/MediaBrowser.Server.Implementations/HttpServer/ContainerAdapter.cs deleted file mode 100644 index 235b62f69..000000000 --- a/MediaBrowser.Server.Implementations/HttpServer/ContainerAdapter.cs +++ /dev/null @@ -1,44 +0,0 @@ -using MediaBrowser.Common; -using ServiceStack.Configuration; - -namespace MediaBrowser.Server.Implementations.HttpServer -{ - /// <summary> - /// Class ContainerAdapter - /// </summary> - class ContainerAdapter : IContainerAdapter - { - /// <summary> - /// The _app host - /// </summary> - private readonly IApplicationHost _appHost; - - /// <summary> - /// Initializes a new instance of the <see cref="ContainerAdapter" /> class. - /// </summary> - /// <param name="appHost">The app host.</param> - public ContainerAdapter(IApplicationHost appHost) - { - _appHost = appHost; - } - /// <summary> - /// Resolves this instance. - /// </summary> - /// <typeparam name="T"></typeparam> - /// <returns>``0.</returns> - public T Resolve<T>() - { - return _appHost.Resolve<T>(); - } - - /// <summary> - /// Tries the resolve. - /// </summary> - /// <typeparam name="T"></typeparam> - /// <returns>``0.</returns> - public T TryResolve<T>() - { - return _appHost.TryResolve<T>(); - } - } -} |
