Example #1
0
 public ExtensionHarvester(ICacheManager cacheManager, IWebSiteFolder webSiteFolder, ICriticalErrorProvider criticalErrorProvider) {
     _cacheManager = cacheManager;
     _webSiteFolder = webSiteFolder;
     _criticalErrorProvider = criticalErrorProvider;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
        public DefaultProjectFileParser(IWebSiteFolder webSiteFolder, ICacheManager cacheManager)
        {
            _webSiteFolder = webSiteFolder;
            _cacheManager = cacheManager;

            Logger = NullLogger.Instance;
        }
Example #3
0
        public PackageBuilder(IWebSiteFolder webSiteFolder,
            IVirtualPathProvider virtualPathProvider,
            IOrchardFrameworkAssemblies frameworkAssemblies) {

            _webSiteFolder = webSiteFolder;
            _virtualPathProvider = virtualPathProvider;
            _frameworkAssemblies = frameworkAssemblies;
        }
Example #4
0
        public RecipeHarvester(
            IExtensionManager extensionManager,
            IWebSiteFolder webSiteFolder,
            IRecipeParser recipeParser) {
            _extensionManager = extensionManager;
            _webSiteFolder = webSiteFolder;
            _recipeParser = recipeParser;

            Logger = NullLogger.Instance;
            T = NullLocalizer.Instance;
        }
 public DefaultLocalizedStringManager(
     IWebSiteFolder webSiteFolder,
     IExtensionManager extensionManager,
     ICacheManager cacheManager,
     ShellSettings shellSettings,
     ISignals signals) {
     _webSiteFolder = webSiteFolder;
     _extensionManager = extensionManager;
     _cacheManager = cacheManager;
     _shellSettings = shellSettings;
     _signals = signals;
 }
Example #6
0
 public ShapeTracingFactory(
     IWorkContextAccessor workContextAccessor, 
     IShapeTableManager shapeTableManager, 
     IThemeManager themeManager, 
     IWebSiteFolder webSiteFolder,
     IAuthorizer authorizer
     ) {
     _workContext = workContextAccessor.GetContext();
     _shapeTableManager = shapeTableManager;
     _themeManager = themeManager;
     _webSiteFolder = webSiteFolder;
     _authorizer = authorizer;
 }
 public ShapeTracingFactory(
     WorkContext workContext, 
     IShapeTableManager shapeTableManager, 
     IThemeManager themeManager, 
     IWebSiteFolder webSiteFolder,
     IAuthorizer authorizer
     ) {
     _workContext = workContext;
     _shapeTableManager = shapeTableManager;
     _themeManager = themeManager;
     _webSiteFolder = webSiteFolder;
     _authorizer = authorizer;
 }
 protected ExtensionFolders(
     IEnumerable<string> paths,
     string manifestName,
     bool manifestIsOptional,
     ICacheManager cacheManager,
     IWebSiteFolder webSiteFolder)
 {
     _paths = paths;
     _manifestName = manifestName;
     _extensionType = manifestName == "Theme.txt" ? "Theme" : "Module";
     _manifestIsOptional = manifestIsOptional;
     _cacheManager = cacheManager;
     _webSiteFolder = webSiteFolder;
 }
 public LiveLocalizedStringManager(
 IWebSiteFolder webSiteFolder,
 IExtensionManager extensionManager,
 ICacheManager cacheManager,
 ShellSettings shellSettings,
 ISignals signals, ILocalizationService localizationService)
 {
     _localizationService = localizationService;
       _webSiteFolder = webSiteFolder;
       _extensionManager = extensionManager;
       _cacheManager = cacheManager;
       _shellSettings = shellSettings;
       _signals = signals;
 }
        public DefaultLocalizedStringManager(
            IWebSiteFolder webSiteFolder,
            IExtensionManager extensionManager,
            ICacheManager cacheManager,
            ILocalizationStreamParser locationStreamParser,
            ShellSettings shellSettings,
            ISignals signals) {
            _webSiteFolder = webSiteFolder;
            _extensionManager = extensionManager;
            _cacheManager = cacheManager;
            _localizationStreamParser = locationStreamParser;
            _shellSettings = shellSettings;
            _signals = signals;

            Logger = NullLogger.Instance;
        }
Example #11
0
 public VirtualPackageFile(IWebSiteFolder webSiteFolder, string virtualPath, string packagePath) {
     _webSiteFolder = webSiteFolder;
     _virtualPath = virtualPath;
     _packagePath = packagePath;
 }
Example #12
0
 private static void EstablishPaths(CreateContext context, IWebSiteFolder webSiteFolder, string locationPath, string moduleName, string moduleType) {
     context.SourceFolder = webSiteFolder;
     if (DefaultExtensionTypes.IsTheme(moduleType)) {
         context.SourcePath = "~/Themes/" + moduleName + "/";
         context.TargetPath = "\\Content\\Themes\\" + moduleName + "\\";
     }
     else {
         context.SourcePath = "~/Modules/" + moduleName + "/";
         context.TargetPath = "\\Content\\Modules\\" + moduleName + "\\";
     }
 }
 public PlacementFileParser(ICacheManager cacheManager, IWebSiteFolder webSiteFolder) {
     _cacheManager = cacheManager;
     _webSiteFolder = webSiteFolder;
     Logger = NullLogger.Instance;
 }
 private static void EstablishPaths(BuildContext context, IWebSiteFolder webSiteFolder, string extensionName, string extensionType = "Plugin")
 {
     context.SourceFolder = webSiteFolder;
     if (extensionType.IsCaseInsensitiveEqual("theme"))
     {
         context.SourcePath = "~/Themes/" + extensionName + "/";
         context.TargetPath = "\\Content\\Themes\\" + extensionName + "\\";
     }
     else
     {
         context.SourcePath = "~/Plugins/" + extensionName + "/";
         context.TargetPath = "\\Content\\Plugins\\" + extensionName + "\\";
     }
 }
Example #15
0
 public ThemeFolders(IEnumerable<string> paths, ICacheManager cacheManager, IWebSiteFolder webSiteFolder)
     : base(paths, "Theme.txt", false/*manifestIsOptional*/, cacheManager, webSiteFolder)
 {
 }
Example #16
0
 public AlternateController(IOrchardServices orchardServices, IWebSiteFolder webSiteFolder, IThemeManager themeManager) {
     _webSiteFolder = webSiteFolder;
     _themeManager = themeManager;
     Services = orchardServices;
 }
 public ExtensionHarvester(IWebSiteFolder webSiteFolder) {
     _webSiteFolder = webSiteFolder;
     T = NullLocalizer.Instance;
 }
 public PackageBuilder(IWebSiteFolder webSiteFolder)
 {
     this._webSiteFolder = webSiteFolder;
 }
Example #19
0
 public AreaFolders(IEnumerable<string> paths, ICacheManager cacheManager, IWebSiteFolder webSiteFolder)
     : base(paths, "Module.txt", true/*isManifestOptional*/, cacheManager, webSiteFolder)
 {
 }
Example #20
0
 public PlacementFileParser(ICacheManager cacheManager, IWebSiteFolder webSiteFolder) {
     _cacheManager = cacheManager;
     _webSiteFolder = webSiteFolder;
 }
 public DefaultProjectFileParser(IWebSiteFolder webSiteFolder, ICacheManager cacheManager) {
     _webSiteFolder = webSiteFolder;
     _cacheManager = cacheManager;
 }
		public PackageBuilder(IWebSiteFolder webSiteFolder, IVirtualPathProvider virtualPathProvider)
		{
			this._webSiteFolder = webSiteFolder;
			this._virtualPathProvider = virtualPathProvider;
		}