From 996e56a835e34610a820a66340701ca4a1d3fd90 Mon Sep 17 00:00:00 2001 From: vfedosevich Date: Sat, 10 Jan 2015 00:50:25 -0800 Subject: [PATCH] webdav portal unused file removed --- .../AccountInfoProvider.cs | 19 ------------------- .../WebDavExplorerAppModule.cs | 19 ------------------- .../WebDavManagerProvider.cs | 19 ------------------- 3 files changed, 57 deletions(-) delete mode 100644 WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/AccountInfoProvider.cs delete mode 100644 WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/WebDavExplorerAppModule.cs delete mode 100644 WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/WebDavManagerProvider.cs diff --git a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/AccountInfoProvider.cs b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/AccountInfoProvider.cs deleted file mode 100644 index 1781b8bb..00000000 --- a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/AccountInfoProvider.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System.Web.SessionState; -using Ninject; -using Ninject.Activation; -using WebsitePanel.WebDavPortal.Config; -using WebsitePanel.WebDavPortal.Models; - -namespace WebsitePanel.WebDavPortal.DependencyInjection -{ - public class AccountInfoProvider : Provider - { - protected override AccountModel CreateInstance(IContext context) - { - var session = context.Kernel.Get(); - - var accountInfo = session[WebDavAppConfigManager.Instance.SessionKeys.AccountInfo] as AccountModel; - return accountInfo; - } - } -} \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/WebDavExplorerAppModule.cs b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/WebDavExplorerAppModule.cs deleted file mode 100644 index 0029f886..00000000 --- a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/WebDavExplorerAppModule.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System.Web; -using System.Web.SessionState; -using Ninject.Modules; -using WebsitePanel.WebDavPortal.Cryptography; -using WebsitePanel.WebDavPortal.Models; - -namespace WebsitePanel.WebDavPortal.DependencyInjection -{ - public class WebDavExplorerAppModule : NinjectModule - { - public override void Load() - { - Bind().ToConstant(HttpContext.Current.Session); - Bind().ToProvider(); - Bind().ToProvider(); - Bind().To(); - } - } -} \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/WebDavManagerProvider.cs b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/WebDavManagerProvider.cs deleted file mode 100644 index 7dd6df04..00000000 --- a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/DependencyInjection/WebDavManagerProvider.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System.Web.SessionState; -using Ninject; -using Ninject.Activation; -using WebsitePanel.WebDavPortal.Config; -using WebsitePanel.WebDavPortal.Models; - -namespace WebsitePanel.WebDavPortal.DependencyInjection -{ - public class WebDavManagerProvider : Provider - { - protected override WebDavManager CreateInstance(IContext context) - { - var session = context.Kernel.Get(); - - var webDavManager = session[WebDavAppConfigManager.Instance.SessionKeys.WebDavManager] as WebDavManager; - return webDavManager; - } - } -} \ No newline at end of file