Interface ICuller
A ICuller filters seeds that remain in consideration when the ISeedRootContext is traversed to produce a result.
Inherited Members
System.IDisposable.Dispose()
Namespace: Snowflake.Scraping.Extensibility
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface ICuller : IPlugin, IDisposable
Properties
TargetType
Gets the type of ISeed that this culler examines.
Declaration
string TargetType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Filter(IEnumerable<ISeed>, ISeedRootContext)
Determines the seeds that REMAIN for traversal for the given target type.
Declaration
IEnumerable<ISeed> Filter(IEnumerable<ISeed> seedsToFilter, ISeedRootContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<ISeed> | seedsToFilter | The seeds of the specified type in the current job. |
| ISeedRootContext | context | The root context of the current job. |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<ISeed> | A list of seeds NOT to cull. |