From a863020d6cd441e2eaf9107e258396282e890468 Mon Sep 17 00:00:00 2001 From: Jeff Treuting Date: Fri, 12 Jul 2013 18:23:42 -0700 Subject: [PATCH] Remove unused non-included files from source --- SharpRepository.Ioc.Ninject/Factory.cs | 12 --------- .../NinjectIocContainer.cs | 24 ----------------- .../NinjectRepositoryBinder.cs | 12 --------- SharpRepository.Ioc.StructureMap/Factory.cs | 12 --------- .../StructureMapIocContainer.cs | 27 ------------------- .../WindsorIocContainer.cs | 12 --------- 6 files changed, 99 deletions(-) delete mode 100644 SharpRepository.Ioc.Ninject/Factory.cs delete mode 100644 SharpRepository.Ioc.Ninject/NinjectIocContainer.cs delete mode 100644 SharpRepository.Ioc.Ninject/NinjectRepositoryBinder.cs delete mode 100644 SharpRepository.Ioc.StructureMap/Factory.cs delete mode 100644 SharpRepository.Ioc.StructureMap/StructureMapIocContainer.cs delete mode 100644 SharpRepository.Ioc.Windsor/WindsorIocContainer.cs diff --git a/SharpRepository.Ioc.Ninject/Factory.cs b/SharpRepository.Ioc.Ninject/Factory.cs deleted file mode 100644 index 7833d9f6..00000000 --- a/SharpRepository.Ioc.Ninject/Factory.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace SharpRepository.Ioc.Ninject -{ - public class Factory - { - } -} diff --git a/SharpRepository.Ioc.Ninject/NinjectIocContainer.cs b/SharpRepository.Ioc.Ninject/NinjectIocContainer.cs deleted file mode 100644 index 00e1a619..00000000 --- a/SharpRepository.Ioc.Ninject/NinjectIocContainer.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using Ninject; -using SharpRepository.Repository.Ioc; - -namespace SharpRepository.Ioc.Ninject -{ - public class NinjectIocContainer : ISharpRepositoryIocContainer - { - private readonly IKernel _kernel; - public NinjectIocContainer(IKernel kernel) - { - _kernel = kernel; - } - public T GetInstance() - { - return _kernel.Get(); - } - - public object GetInstance(Type type) - { - return _kernel.Get(type); - } - } -} diff --git a/SharpRepository.Ioc.Ninject/NinjectRepositoryBinder.cs b/SharpRepository.Ioc.Ninject/NinjectRepositoryBinder.cs deleted file mode 100644 index bf15b0e9..00000000 --- a/SharpRepository.Ioc.Ninject/NinjectRepositoryBinder.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace SharpRepository.Ioc.Ninject -{ - class NinjectRepositoryBinder - { - } -} diff --git a/SharpRepository.Ioc.StructureMap/Factory.cs b/SharpRepository.Ioc.StructureMap/Factory.cs deleted file mode 100644 index a9391186..00000000 --- a/SharpRepository.Ioc.StructureMap/Factory.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace SharpRepository.Ioc.StructureMap -{ - class Factory - { - } -} diff --git a/SharpRepository.Ioc.StructureMap/StructureMapIocContainer.cs b/SharpRepository.Ioc.StructureMap/StructureMapIocContainer.cs deleted file mode 100644 index 13404edb..00000000 --- a/SharpRepository.Ioc.StructureMap/StructureMapIocContainer.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using SharpRepository.Repository.Ioc; -using StructureMap; - -namespace SharpRepository.Ioc.StructureMap -{ - // do we need a way to pass in the Container? Would that be in some global configuration file run in a bootstrapper or global.asax? - public class Factory : IIocFactory - { - private readonly IContainer _container; - - public Factory(IContainer container) - { - _container = container; - } - - public T CreateInstance() - { - return _container.GetInstance(); - } - - public object CreateInstance(Type type) - { - return _container.GetInstance(type); - } - } -} diff --git a/SharpRepository.Ioc.Windsor/WindsorIocContainer.cs b/SharpRepository.Ioc.Windsor/WindsorIocContainer.cs deleted file mode 100644 index eed31415..00000000 --- a/SharpRepository.Ioc.Windsor/WindsorIocContainer.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace SharpRepository.Ioc.Windsor -{ - public class Class1 - { - } -}