From 2e4db7554041ecf481d3a38656fccc309e13eb5b Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Sat, 23 Feb 2013 17:31:51 -0500 Subject: extracted http server, web socket server and udp server dependancies --- MediaBrowser.Common/Kernel/IApplicationHost.cs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Common/Kernel/IApplicationHost.cs') diff --git a/MediaBrowser.Common/Kernel/IApplicationHost.cs b/MediaBrowser.Common/Kernel/IApplicationHost.cs index dccb65b2aa..fe2f00a126 100644 --- a/MediaBrowser.Common/Kernel/IApplicationHost.cs +++ b/MediaBrowser.Common/Kernel/IApplicationHost.cs @@ -56,8 +56,22 @@ namespace MediaBrowser.Common.Kernel /// /// /// The obj. - void Register(T obj) where T : class; + void RegisterSingleInstance(T obj) where T : class; + /// + /// Registers the single instance. + /// + /// + /// The func. + void RegisterSingleInstance(Func func) where T : class; + + /// + /// Registers the specified func. + /// + /// + /// The func. + void Register(Func func) where T : class; + /// /// Registers the specified service type. /// -- cgit v1.2.3