예제 #1
0
 public ILessEngine GetEngine(ContainerFactory containerFactory)
 {
     var container = containerFactory.GetContainer(Configuration);
     return container.GetInstance<ILessEngine>();
 }
예제 #2
0
 public void ProcessRequest(HttpContext context)
 {
     IServiceLocator container = new ContainerFactory().GetContainer();
     var handler = container.GetInstance<HandlerImpl>();
     handler.Execute();
 }
예제 #3
0
        public ILessEngine GetEngine()
        {
            var container = new ContainerFactory().GetLessContainer(Configuration);

            return(container.GetInstance <ILessEngine>());
        }
예제 #4
0
 public LessCssHttpHandler()
 {
     Config = new WebConfigConfigurationLoader().GetConfiguration();
     Container = new ContainerFactory().GetContainer(Config);
 }
예제 #5
0
        public ILessEngine GetEngine(ContainerFactory containerFactory)
        {
            var container = containerFactory.GetContainer(Configuration);

            return(container.GetRequiredService <ILessEngine>());
        }
예제 #6
0
 public LessCssHttpHandler()
 {
     Config    = new WebConfigConfigurationLoader().GetConfiguration();
     Container = new ContainerFactory().GetContainer(Config);
 }
예제 #7
0
        public ILessEngine GetEngine(ContainerFactory containerFactory)
        {
            var container = containerFactory.GetContainer(Configuration);

            return(container.GetInstance <ILessEngine>());
        }
예제 #8
0
 public ILessEngine GetEngine()
 {
     var container = new ContainerFactory().GetLessContainer(Configuration);
     return container.GetInstance<ILessEngine>();
 }
예제 #9
0
 public ILessEngine GetEngine(DotlessConfiguration configuration)
 {
     IServiceLocator container = new ContainerFactory().GetCoreContainer(configuration);
     return container.GetInstance<ILessEngine>();
 }