public ILessEngine GetEngine(ContainerFactory containerFactory) { var container = containerFactory.GetContainer(Configuration); return container.GetInstance<ILessEngine>(); }
public void ProcessRequest(HttpContext context) { IServiceLocator container = new ContainerFactory().GetContainer(); var handler = container.GetInstance<HandlerImpl>(); handler.Execute(); }
public ILessEngine GetEngine() { var container = new ContainerFactory().GetLessContainer(Configuration); return(container.GetInstance <ILessEngine>()); }
public LessCssHttpHandler() { Config = new WebConfigConfigurationLoader().GetConfiguration(); Container = new ContainerFactory().GetContainer(Config); }
public ILessEngine GetEngine(ContainerFactory containerFactory) { var container = containerFactory.GetContainer(Configuration); return(container.GetRequiredService <ILessEngine>()); }
public ILessEngine GetEngine(ContainerFactory containerFactory) { var container = containerFactory.GetContainer(Configuration); return(container.GetInstance <ILessEngine>()); }
public ILessEngine GetEngine() { var container = new ContainerFactory().GetLessContainer(Configuration); return container.GetInstance<ILessEngine>(); }
public ILessEngine GetEngine(DotlessConfiguration configuration) { IServiceLocator container = new ContainerFactory().GetCoreContainer(configuration); return container.GetInstance<ILessEngine>(); }