private void RegisterRouteConfigurator(IWindsorContainer container)
 {
     container.Register(
         Component.For <IHttpConfigurator>().ImplementedBy <HttpRouteConfigurator>()
         .DependsOn(Dependency.OnValue <bool>(_apiConfigurationProvider.IsYearSpecific())));
 }
        public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            container.Register(
                Component.For <IOpenApiMetadataRouteProvider>().ImplementedBy <OpenApiMetadataRouteProvider>(),
                Component.For <IOpenApiMetadataCacheProvider>().ImplementedBy <OpenApiMetadataCacheProvider>(),
                Component.For <IHttpConfigurator>().ImplementedBy <HttpOpenApiMetadataRouteConfigurator>().DependsOn(Dependency.OnValue <bool>(_apiConfigurationProvider.IsYearSpecific())),
                Component.For <IExternalTask>().ImplementedBy <InitializeOpenApiMetadataCache>(),
                Component.For <IOpenApiContentProvider>().ImplementedBy <EdFiOpenApiContentProvider>());

            RegisterControllers(container);
        }