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
optionsIOptions<SdkAppOptions>The extensions configuration settings.
fileSystemIFileSystemAbstracts the file system.
environmentIPlatformEnvironmentResolves 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
manifestExtensionInfoThe deserialized extension manifest metadata.
Returns
- ExtensionValidationFlags
A ExtensionValidationFlags value that encodes any validation flags (use
HasFlags), or NoFlags if there are no issues.