Table of Contents

Class ExtensionManifestValidationService

Namespace
RDCore.SDK.Extensibility
Assembly
RDCore.SDK.dll

A service that validates an extension manifest..

public class ExtensionManifestValidationService : IExtensionManifestValidationService
Inheritance
ExtensionManifestValidationService
Implements
Inherited Members

Constructors

ExtensionManifestValidationService(IOptions<SdkAppOptions>, IFileSystem, IPlatformEnvironment)

A service that validates an extension manifest..

public ExtensionManifestValidationService(IOptions<SdkAppOptions> options, IFileSystem fileSystem, IPlatformEnvironment environment)

Parameters

options IOptions<SdkAppOptions>

The extensions configuration settings.

fileSystem IFileSystem

Abstracts the file system.

environment IPlatformEnvironment

Resolves the extensions folder from the platform root rather than the process working directory.

Methods

Validate(ExtensionInfo)

Validates the specified ExtensionInfo.

public ExtensionValidationFlags Validate(ExtensionInfo manifest)

Parameters

manifest ExtensionInfo

The deserialized extension manifest metadata.

Returns

ExtensionValidationFlags

A ExtensionValidationFlags value that encodes any validation flags (use HasFlags), or NoFlags if there are no issues.