Class PipelineComponentScanner
Implements a scanner object containing the available importers and processors for an application. Designed for internal use only.
public sealed class PipelineComponentScanner
- Inheritance
-
PipelineComponentScanner
- Inherited Members
Constructors
PipelineComponentScanner()
Initializes a new instance of PipelineComponentScanner.
public PipelineComponentScanner()
Properties
Errors
Gets the list of error messages produced by the last call to Update.
public IList<string> Errors { get; }
Property Value
ImporterAttributes
Gets a dictionary that maps importer names to their associated metadata attributes.
public IDictionary<string, ContentImporterAttribute> ImporterAttributes { get; }
Property Value
ImporterNames
Gets the names of all available importers.
public IEnumerable<string> ImporterNames { get; }
Property Value
ImporterOutputTypes
Gets a dictionary that maps importer names to the fully qualified name of their return types.
public IDictionary<string, string> ImporterOutputTypes { get; }
Property Value
ProcessorAttributes
Gets a dictionary that maps processor names to their associated metadata attributes.
public IDictionary<string, ContentProcessorAttribute> ProcessorAttributes { get; }
Property Value
ProcessorInputTypes
Gets a dictionary that maps processor names to the fully qualified name of supported input types.
public IDictionary<string, string> ProcessorInputTypes { get; }
Property Value
ProcessorNames
Gets the names of all available processors.
public IEnumerable<string> ProcessorNames { get; }
Property Value
ProcessorOutputTypes
Gets a dictionary that maps processor names to the fully qualified name of their output types.
public IDictionary<string, string> ProcessorOutputTypes { get; }
Property Value
ProcessorParameters
A collection of supported processor parameters.
public IDictionary<string, ProcessorParameterCollection> ProcessorParameters { get; }
Property Value
Methods
Update(IEnumerable<string>)
Updates the scanner object with the latest available assembly states.
public bool Update(IEnumerable<string> pipelineAssemblies)
Parameters
pipelineAssemblies
IEnumerable<string>Enumerated list of available assemblies.
Returns
- bool
true if an actual scan was required, indicating the collection contents may have changed. false if no assembly changes were detected since the previous call.
Update(IEnumerable<string>, IEnumerable<string>)
Updates the scanner object with the latest available assembly states.
public bool Update(IEnumerable<string> pipelineAssemblies, IEnumerable<string> pipelineAssemblyDependencies)
Parameters
pipelineAssemblies
IEnumerable<string>Enumerated list of available assemblies.
pipelineAssemblyDependencies
IEnumerable<string>Enumerated list of dependent assemblies.
Returns
- bool
true if an actual scan was required, indicating the collection contents may have changed. false if no assembly changes were detected since the previous call.