Ejemplo n.º 1
0
 public static void BindCore(this LightweightKernel kernel)
 {
     kernel.Bind <IActionDispatch, ActionDispatch>();
     kernel.Bind <IHostPlatformDetector, HostPlatformDetector>();
     kernel.Bind <ILogger, Logger>();
     kernel.BindAndKeepInstance <IModuleUtilities, ModuleUtilities>();
     kernel.BindAndKeepInstance <IModuleExecution, ModuleExecution>();
     kernel.BindAndKeepInstance <IFeatureManager, FeatureManager>();
 }
Ejemplo n.º 2
0
 public static void BindAutomatedBuild(this LightweightKernel kernel)
 {
     kernel.Bind <IAutomatedBuildController, AutomatedBuildController>();
     kernel.Bind <IAutomatedBuildRuntimeV1, AutomatedBuildRuntimeV1>();
 }
Ejemplo n.º 3
0
        public static void BindPackages(this LightweightKernel kernel)
        {
            kernel.Bind <IAutomaticModulePackager, AutomaticModulePackager>();
            kernel.Bind <IDeduplicator, Deduplicator>();
            kernel.Bind <IPackageManager, PackageManager>();
            kernel.Bind <IPackageLookup, PackageLookup>();
            kernel.Bind <IPackageCacheConfiguration, PackageCacheConfiguration>();
            kernel.BindAndKeepInstance <IPackageRedirector, PackageRedirector>();
            kernel.Bind <IPackageLocator, PackageLocator>();
            kernel.Bind <IProjectOutputPathCalculator, ProjectOutputPathCalculator>();
            kernel.Bind <IPackageGlobalTool, PackageGlobalTool>();
            kernel.Bind <IProgressiveWebOperation, ProgressiveWebOperation>();
            kernel.Bind <IPackageCreator, PackageCreator>();
            kernel.Bind <IGetRecursiveUtilitiesInPath, GetRecursiveUtilitiesInPath>();
            kernel.Bind <IPackageUrlParser, PackageUrlParser>();
            kernel.Bind <IKnownToolProvider, KnownToolProvider>();
            kernel.Bind <IPackageNameLookup, PackageNameLookup>();
            kernel.Bind <IProjectTemplateApplier, ProjectTemplateApplier>();

            kernel.Bind <IPackageProtocol, GitPackageProtocol>();
            kernel.Bind <IPackageProtocol, LocalTemplatePackageProtocol>();
            kernel.Bind <IPackageProtocol, LocalTemplateGitPackageProtocol>();
            kernel.Bind <IPackageProtocol, NuGetPackageProtocol>();
            kernel.Bind <IPackageProtocol, ProtobuildPackageProtocol>();
            kernel.Bind <IPackageProtocol, LocalProtobuildPackageProtocol>();
        }
Ejemplo n.º 4
0
 public static void BindFileFilter(this LightweightKernel kernel)
 {
     kernel.Bind <IFileFilterParser, FileFilterParser>();
 }
Ejemplo n.º 5
0
 public static void BindTargets(this LightweightKernel kernel)
 {
     kernel.Bind <ILanguageStringProvider, LanguageStringProvider>();
 }
Ejemplo n.º 6
0
 public static void BindJSIL(this LightweightKernel kernel)
 {
     kernel.Bind <IJSILProvider, JSILProvider>();
 }
Ejemplo n.º 7
0
 public static void BindGeneration(this LightweightKernel kernel)
 {
     kernel.Bind <IExcludedServiceAwareProjectDetector, ExcludedServiceAwareProjectDetector>();
     kernel.Bind <IExternalProjectReferenceResolver, ExternalProjectReferenceResolver>();
     kernel.Bind <IContentProjectGenerator, ContentProjectGenerator>();
     kernel.Bind <INuGetConfigMover, NuGetConfigMover>();
     kernel.Bind <INuGetReferenceDetector, NuGetReferenceDetector>();
     kernel.Bind <INuGetRepositoriesConfigGenerator, NuGetRepositoriesConfigGenerator>();
     kernel.Bind <IProjectGenerator, ProjectGenerator>();
     kernel.Bind <IProjectInputGenerator, ProjectInputGenerator>();
     kernel.Bind <IProjectLoader, ProjectLoader>();
     kernel.Bind <IServiceInputGenerator, ServiceInputGenerator>();
     kernel.Bind <IServiceReferenceTranslator, ServiceReferenceTranslator>();
     kernel.Bind <ISolutionGenerator, SolutionGenerator>();
     kernel.Bind <ISolutionInputGenerator, SolutionInputGenerator>();
     kernel.Bind <IPlatformResourcesGenerator, PlatformResourcesGenerator>();
     kernel.Bind <IIncludeProjectAppliesToUpdater, IncludeProjectAppliesToUpdater>();
     kernel.Bind <IIncludeProjectMerger, IncludeProjectMerger>();
 }
Ejemplo n.º 8
0
 public static void BindBuildResources(this LightweightKernel kernel)
 {
     kernel.Bind <IResourceProvider, ResourceProvider>();
     kernel.Bind <IGenerationFunctionsProvider, GenerationFunctionsProvider>();
 }