Enum Directive
Specifies the requirements of a directive evaluated when
deciding if a IScraper is run or not.
Assembly: Snowflake.Framework.Primitives.dll
Syntax
Fields
Name |
Description |
Excludes |
Indicates that a child of the specified type on the specified AttachTarget
MUST NOT exist before this scraper is run. Allows for fallbacks and exclusions on multiple but
similar scrapers that can take advantage of pre-existing data.
All scrapers are eager to run, and will run immediately after their Requires
are fulfilled. That means that exclusions apply only to seeds that exist on the previous seed state,
before this scraper is run. In order words, if the Requires of a scraper is fulfilled
before all possible Excludes may have appeared, the scraper will run regardless of any
Excludes.
If the state of the seed tree excludes this scraper after it has already been run,
the result will exist for the remainder of the IScrapeContext unless it is
culled by an ICuller.
|
Requires |
Indicates that a child of the specified type on the specified AttachTarget
MUST exist before this scraper is run. Seed types of this directive are guaranteed to
be available when this scraper is run.
|