コード例 #1
0
        public ThemeManifestMaterializer(ThemeFolderData folderData)
        {
            Guard.NotNull(folderData, nameof(folderData));

            _manifest = new ThemeManifest();

            _manifest.ThemeName         = folderData.FolderName;
            _manifest.BaseThemeName     = folderData.BaseTheme;
            _manifest.Location          = folderData.VirtualBasePath;
            _manifest.Path              = folderData.FullPath;
            _manifest.ConfigurationNode = folderData.Configuration.DocumentElement;
        }