Interface ISeed
A seed is a unit of data with a type and a string value, with a unique ID and a parent ID. Within an ISeedRootContext, a list of seeds form a tree structure that can be traversed to produce records and other resultant data from scraped metadata and media.
Namespace: Snowflake.Scraping
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface ISeed
Fields
ClientSource
The source if the data was sourced from sources other than scrapers.
Declaration
public static readonly string ClientSource
Field Value
| Type | Description |
|---|---|
| System.String |
RootSource
The source for a root seed.
Declaration
public static readonly string RootSource
Field Value
| Type | Description |
|---|---|
| System.String |
Properties
Content
Gets the type and value content of the seed.
Declaration
SeedContent Content { get; }
Property Value
| Type | Description |
|---|---|
| SeedContent |
Guid
Gets the unique GUID of the seed.
Declaration
Guid Guid { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
Parent
Gets the unique GUID of this seeds parent. The relation between parent and child seeds exists only within a ISeedRootContext.
Declaration
Guid Parent { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
Source
Gets the source from which this seed's data was sourced from or created. By convention, if the data was sourced from external sources other than scrapers, the source should be the string "__client".
Declaration
string Source { get; }
Property Value
| Type | Description |
|---|---|
| System.String |