Struct SeedTree
Used when building a seed tree, represents a Seed
Inherited Members
Namespace: Snowflake.Scraping.Extensibility
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public struct SeedTree
Properties
Children
Gets the children of this Seed
Declaration
public IEnumerable<SeedTree> Children { get; }
Property Value
Type | Description |
---|---|
System. |
Content
Gets the Seed
Declaration
public SeedContent Content { get; }
Property Value
Type | Description |
---|---|
Seed |
Operators
Implicit(SeedTree to SeedContent)
Implicitly coerces a Seed
Declaration
public static implicit operator SeedContent(SeedTree seedTree)
Parameters
Returns
Type | Description |
---|---|
Seed |
Implicit(SeedTree to (SeedContent content, IEnumerable<SeedTree> children))
Implicitly coerces a Seed
Declaration
public static implicit operator (SeedContent content, IEnumerable<SeedTree> children)(SeedTree seedTree)
Parameters
Returns
Type | Description |
---|---|
System. |
Implicit(SeedTree to (String type, String value))
Implicitly coerces a Seed
Declaration
public static implicit operator (string type, string value)(SeedTree seedTree)
Parameters
Returns
Type | Description |
---|---|
System. |
Implicit(SeedTree to ((String type, String value) content, IEnumerable<SeedTree> children))
Implicitly coerces a
Declaration
public static implicit operator ((string type, string value) content, IEnumerable<SeedTree> children)(SeedTree seedTree)
Parameters
Type | Name | Description |
---|---|---|
Seed |
seedTree | The |
Returns
Type | Description |
---|---|
System. |
Implicit(SeedContent to SeedTree)
Implicitly coerces a Seed
Declaration
public static implicit operator SeedTree(SeedContent seedContent)
Parameters
Type | Name | Description |
---|---|---|
Seed |
seedContent | The Seed |
Returns
Type | Description |
---|---|
Seed |
Implicit((SeedContent content, IEnumerable<SeedTree> children) to SeedTree)
Implicitly coerces a
Declaration
public static implicit operator SeedTree((SeedContent content, IEnumerable<SeedTree> children) contentTuple)
Parameters
Type | Name | Description |
---|---|---|
System. |
contentTuple | The |
Returns
Type | Description |
---|---|
Seed |
Implicit((String type, String value, IEnumerable<SeedTree> children) to SeedTree)
Implicit coerces a
Declaration
public static implicit operator SeedTree((string type, string value, IEnumerable<SeedTree> children) contentTuple)
Parameters
Type | Name | Description |
---|---|---|
System. |
contentTuple | The |
Returns
Type | Description |
---|---|
Seed |
Implicit((String type, String value) to SeedTree)
Implicitly coerces a Seed
Declaration
public static implicit operator SeedTree((string type, string value) seedContent)
Parameters
Type | Name | Description |
---|---|---|
System. |
seedContent | The Seed |
Returns
Type | Description |
---|---|
Seed |