Class ManifestParser
Parses the Main.js file and replaces all tokens accordingly.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Manifest
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ManifestParser : IManifestParser
Constructors
View SourceManifestParser(AppCaches, ManifestValueValidatorCollection, ManifestFilterCollection, ILogger<ManifestParser>, IIOHelper, IHostingEnvironment, IJsonSerializer, ILocalizedTextService, IShortStringHelper, IDataValueEditorFactory)
Initializes a new instance of the ManifestParser class.
Declaration
public ManifestParser(AppCaches appCaches, ManifestValueValidatorCollection validators, ManifestFilterCollection filters, ILogger<ManifestParser> logger, IIOHelper ioHelper, IHostingEnvironment hostingEnvironment, IJsonSerializer jsonSerializer, ILocalizedTextService localizedTextService, IShortStringHelper shortStringHelper, IDataValueEditorFactory dataValueEditorFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| AppCaches | appCaches | |
| ManifestValueValidatorCollection | validators | |
| ManifestFilterCollection | filters | |
| ILogger<ManifestParser> | logger | |
| IIOHelper | ioHelper | |
| IHostingEnvironment | hostingEnvironment | |
| IJsonSerializer | jsonSerializer | |
| ILocalizedTextService | localizedTextService | |
| IShortStringHelper | shortStringHelper | |
| IDataValueEditorFactory | dataValueEditorFactory |
Properties
View SourceAppPluginsPath
Declaration
public string AppPluginsPath { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
CombinedManifest
Gets all manifests, merged into a single manifest object.
Declaration
public CompositePackageManifest CombinedManifest { get; }
Property Value
| Type | Description |
|---|---|
| CompositePackageManifest |
Methods
View SourceGetManifests()
Gets all manifests.
Declaration
public IEnumerable<PackageManifest> GetManifests()
Returns
| Type | Description |
|---|---|
| IEnumerable<PackageManifest> |
ParseManifest(String)
Parses a manifest.
Declaration
public PackageManifest ParseManifest(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text |
Returns
| Type | Description |
|---|---|
| PackageManifest |