Beispiel #1
0
        public WebsiteFileElementProvider(WebsiteFileElementProviderData objectConfiguration)
        {
            _rootLabel = objectConfiguration.RootLabel;
            _folderWhiteListKeyName = objectConfiguration.FolderWhiteListKeyName;

            if (string.IsNullOrEmpty(objectConfiguration.ManageableKeyNames) == false)
            {
                _manageableKeyNames      = objectConfiguration.ManageableKeyNames.Split(',').ToList();
                _manageableKeyNameLabels = StringResourceSystemFacade.SplitParseableStrings(objectConfiguration.ManageableKeyNameLabels, ',').ToList();
            }
            else
            {
                _manageableKeyNames = new List <string>();
            }

            _rootPath = Path.GetDirectoryName(PathUtil.BaseDirectory);
        }