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 Manifest
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 |
---|---|---|
App |
appCaches | |
Manifest |
validators | |
Manifest |
filters | |
ILogger<Manifest |
logger | |
IIOHelper | ioHelper | |
IHosting |
hostingEnvironment | |
IJson |
jsonSerializer | |
ILocalized |
localizedTextService | |
IShort |
shortStringHelper | |
IData |
dataValueEditorFactory |
Properties
View SourceAppPluginsPath
Declaration
public string AppPluginsPath { get; set; }
Property Value
Type | Description |
---|---|
System. |
CombinedManifest
Gets all manifests, merged into a single manifest object.
Declaration
public CompositePackageManifest CombinedManifest { get; }
Property Value
Type | Description |
---|---|
Composite |
Methods
View SourceGetManifests()
Gets all manifests.
Declaration
public IEnumerable<PackageManifest> GetManifests()
Returns
Type | Description |
---|---|
IEnumerable<Package |
ParseManifest(String)
Parses a manifest.
Declaration
public PackageManifest ParseManifest(string text)
Parameters
Type | Name | Description |
---|---|---|
System. |
text |
Returns
Type | Description |
---|---|
Package |