• Introduction
  • C# API
  • GraphQL API
  • Home
  • Blog
  • Docs
  • GitHub
  • Snowflake.Scraping.Extensibility
  • SeedTree
Show / Hide Table of Contents
  • Snowflake.Configuration
    • ConfigurationCollection<T>
    • ConfigurationCollectionDescriptor<T>
    • ConfigurationOptionDescriptor
    • ConfigurationOptionType
    • ConfigurationSection<T>
    • ConfigurationSectionDescriptor<T>
    • ConfigurationValueCollection
    • IConfigurationCollection
    • IConfigurationCollection<T>
    • IConfigurationCollectionDescriptor
    • IConfigurationOptionDescriptor
    • IConfigurationProperty
    • IConfigurationSection
    • IConfigurationSection<T>
    • IConfigurationSectionDescriptor
    • IConfigurationTypeMapper
    • IConfigurationValue
    • IConfigurationValueCollection
    • ISelectionOptionDescriptor
    • PathType
    • SelectionOptionDescriptor
  • Snowflake.Configuration.Attributes
    • ConfigurationOptionAttribute
    • ConfigurationSectionAttribute
    • ConfigurationTargetAttribute
    • ConfigurationTargetMemberAttribute
    • CustomMetadataAttribute
    • InputTemplateAttribute
    • SelectionOptionAttribute
  • Snowflake.Configuration.Input
    • DictionaryInputMapping
    • IDeviceInputMapping
    • IInputOption
    • IInputSerializer
    • IInputTemplate
    • IInputTemplate<T>
    • InputConfigurationSection<T>
    • InputOption
    • InputOptionAttribute
    • InputTemplate<T>
  • Snowflake.Configuration.Interceptors
    • ConfigurationInterceptor
  • Snowflake.Configuration.Serialization
    • AbstractConfigurationNode<T>
    • BooleanConfigurationNode
    • ConfigurationTarget
    • ConfigurationTraversalContext
    • DecimalConfigurationNode
    • DeviceCapabilityElementConfigurationNode
    • EnumConfigurationNode
    • IAbstractConfigurationNode
    • IAbstractConfigurationNode<T>
    • IConfigurationSerializationContext<T>
    • IConfigurationTarget
    • IConfigurationTransformer<TOutput>
    • IConfigurationTraversalContext
    • IntegralConfigurationNode
    • ListConfigurationNode
    • StringConfigurationNode
    • UnknownConfigurationNode
  • Snowflake.Configuration.Serialization.Serializers
    • AbstractStringConfigurationSerializer
    • ConfigurationSerializer<T>
    • StringSerializationContext
    • StringSerializationContextExtensions
  • Snowflake.Configuration.Serialization.Serializers.Implementations
    • SimpleCfgConfigurationSerializer
    • SimpleIniConfigurationSerializer
    • SimpleJsonConfigurationSerializer
    • SimpleXmlConfigurationSerializer
  • Snowflake.Extensibility
    • IEmptyPluginConfiguration
    • ILogger
    • IPlugin
    • IPluginCollection<T>
    • LogLevel
    • PluginAttribute
    • PluginCollection<T>
    • PluginInfoFields
  • Snowflake.Extensibility.Configuration
    • IPluginConfigurationStore
  • Snowflake.Extensibility.Provisioning
    • IPluginProperties
    • IPluginProvision
    • IProvisionedPlugin
    • PluginProvision
    • ProvisionedPlugin
  • Snowflake.Extensibility.Provisioning.Standalone
    • StandalonePlugin
    • StandalonePluginProvision
  • Snowflake.Extensibility.Queueing
    • IAsyncJobQueue
    • IAsyncJobQueue<T>
    • IAsyncJobQueue<TAsyncEnumerable, T>
    • IAsyncJobQueueFactory
  • Snowflake.Filesystem
    • DirectoryExtensions
    • FileExtensions
    • IDirectory
    • IFile
    • IIndelibleDirectory
    • IReadOnlyDirectory
    • IReadOnlyFile
  • Snowflake.Input.Controller
    • ControllerElement
    • ControllerElementCollection
    • ControllerElementExtensions
    • ControllerElementInfo
    • ControllerElementType
    • ControllerElementTypeExtensions
    • ControllerId
    • IControllerElementCollection
    • IControllerElementInfo
    • IControllerLayout
    • InvalidControllerIdException
  • Snowflake.Input.Controller.Mapped
    • ControllerElementMapping
    • ControllerElementMappingProfile
    • IControllerElementMappingProfile
    • IControllerElementMappingProfileStore
  • Snowflake.Input.Device
    • DefaultDeviceCapabilityLabels
    • DeviceCapability
    • DeviceCapabilityClass
    • DeviceCapabilityClasses
    • DeviceCapabilityExtensions
    • DeviceLayoutMapping
    • DictionaryDeviceCapabilityLabels
    • DirectInputDeviceInstance
    • IDeviceCapabilityLabels
    • IDeviceLayoutMapping
    • IInputDevice
    • IInputDeviceInstance
    • InputDriver
    • KeyboardDeviceInstance
    • PassthroughDeviceInstance
    • XInputDeviceInstance
  • Snowflake.Installation
    • AsyncInstallTask<T>
    • AsyncInstallTaskEnumerable<T>
    • ITaskResult
    • TaskResult
    • TaskResult<T>
  • Snowflake.Installation.Extensibility
    • GameInstaller
    • IGameInstaller
    • IInstallable
    • Installable
    • SupportedPlatformAttribute
  • Snowflake.Installation.Tasks
    • CopyDirectoryContentsTask
    • CopyFileTask
    • ExecuteAsyncTask<TResult>
    • ExtractZipTask
    • FailureTask<T>
  • Snowflake.Loader
    • IComposable
    • IModule
    • IModuleEnumerator
    • IModuleLoader<T>
    • ImportServiceAttribute
    • IServiceRepository
    • Module
  • Snowflake.Model.Database.Exceptions
    • DependentEntityNotExistsException
    • EntityAlreadyExistsException
  • Snowflake.Model.Database.Migrations
    • Empty
    • InitialCreate
  • Snowflake.Model.Game
    • Game
    • IGame
    • IGameExtension
    • IGameLibrary
    • IPlatformInfo
    • ISystemFile
    • PlatformId
  • Snowflake.Model.Game.LibraryExtensions
    • GameConfigurationExtensionExtensions
    • GameFileExtensionExtensions
    • IGameConfigurationExtension
    • IGameConfigurationExtensionProvider
    • IGameExtensionProvider
    • IGameExtensionProvider<TExtension>
    • IGameFileExtension
    • IGameFileExtensionProvider
  • Snowflake.Model.Records
    • FileRecord
    • GameRecord
    • IMetadataCollection
    • IRecord
    • IRecordMetadata
    • IRecordMetadataQuery
    • MetadataCollection
    • RecordMetadata
  • Snowflake.Model.Records.File
    • FileMetadataKeys
    • IFileRecord
    • ImageMetadataKeys
    • ImageTypes
  • Snowflake.Model.Records.Game
    • GameMetadataKeys
    • IGameRecord
    • IGameRecordQuery
  • Snowflake.Orchestration.Extensibility
    • EmulatedController
    • EmulatedPortsManager
    • EmulatorCompatibility
    • EmulatorOrchestrator
    • GameEmulation
    • GameEmulation<TConfigurationCollection>
    • GameEmulationState
    • IEmulatedController
    • IEmulatedPortDeviceEntry
    • IEmulatedPortsManager
    • IEmulatedPortStore
    • IEmulatorOrchestrator
    • IGameEmulation
  • Snowflake.Orchestration.Extensibility.Extensions
    • DeviceEnumeratorExtensions
  • Snowflake.Orchestration.Process
    • IEmulatorExecutable
    • IEmulatorExecutableProvider
    • IProcessBuilder
    • ProcessExtensions
  • Snowflake.Orchestration.Saving
    • GameFileExtensionGameSaveManagerExtensions
    • IGameSaveManager
    • ISaveGame
    • ISaveProfile
    • SaveGame
    • SaveManagementStrategy
  • Snowflake.Orchestration.SystemFiles
    • ISystemFileProvider
  • Snowflake.Persistence
    • ISqlDatabase
    • SqliteDatabase
    • SqliteMemoryDatabase
  • Snowflake.Remoting.Electron
    • IElectronPackage
    • IElectronPackageProvider
  • Snowflake.Remoting.Kestrel
    • IKestrelServerMiddlewareProvider
    • IKestrelWebServerService
  • Snowflake.Romfile
    • IFileSignature
    • IRomFileInfo
    • IStructuredFilename
    • NamingConvention
    • RomFileInfo
    • StructuredFilename
  • Snowflake.Romfile.Extensions
    • StringExtensions
  • Snowflake.Romfile.Tokenizer
    • FieldType
    • GoodToolsTokenClassifier
    • NoIntroTokenClassifier
    • StructuredFilenameToken
  • Snowflake.Scraping
    • GameScrapeContext
    • IScrapeContext
    • ISeed
    • ISeedRootContext
    • Seed
    • SeedContent
    • SeedRootContext
  • Snowflake.Scraping.Extensibility
    • AttachTarget
    • Culler
    • Directive
    • DirectiveAttribute
    • FileInstallationTraverserBase
    • GameMetadataTraverserBase
    • ICuller
    • IFileInstallationTraverser
    • IGameMetadataTraverser
    • IScraper
    • IScraperDirective
    • ITraverser<TProducts, TEffectTarget>
    • Scraper
    • SeedBuilder
    • SeedTree
    • Traverser<TProducts, TEffectTarget>
  • Snowflake.Services
    • IContentDirectoryProvider
    • IDeviceEnumerator
    • ILogProvider
    • IPluginManager
    • IServiceEnumerator
    • IServiceRegistrationProvider
    • IStoneProvider
  • Snowflake.Shiragame
    • IRomInfo
    • ISerialInfo
    • IShiragameProvider
    • RomInfo
    • SerialInfo

Struct SeedTree

Used when building a seed tree, represents a SeedContent with context-free parent/child relationships. This should never be used directly outside of the return value of an IScraper. There is no way to instantiate this class besides implicitly converting from an instance of SeedContent. SeedTree does not implement System.IEquatable<T>, and thus is not equatable.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Snowflake.Scraping.Extensibility
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public struct SeedTree

Properties

Children

Gets the children of this SeedTree

Declaration
public IEnumerable<SeedTree> Children { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<SeedTree>

Content

Gets the SeedContent associated with this tree.

Declaration
public SeedContent Content { get; }
Property Value
Type Description
SeedContent

Operators

Implicit(SeedTree to SeedContent)

Implicitly coerces a SeedTree into a single SeedContent without children.

Declaration
public static implicit operator SeedContent(SeedTree seedTree)
Parameters
Type Name Description
SeedTree seedTree

The SeedTree to coerce.

Returns
Type Description
SeedContent

Implicit(SeedTree to (SeedContent content, IEnumerable<SeedTree> children))

Implicitly coerces a SeedTree into a

Declaration
public static implicit operator (SeedContent content, IEnumerable<SeedTree> children)(SeedTree seedTree)
Parameters
Type Name Description
SeedTree seedTree

The SeedTree to convert.

Returns
Type Description
System.ValueTuple<SeedContent, System.Collections.Generic.IEnumerable<SeedTree>>

Implicit(SeedTree to (String type, String value))

Implicitly coerces a SeedTree into a single SeedContent without children.

Declaration
public static implicit operator (string type, string value)(SeedTree seedTree)
Parameters
Type Name Description
SeedTree seedTree

The SeedTree to coerce.

Returns
Type Description
System.ValueTuple<System.String, System.String>

Implicit(SeedTree to ((String type, String value) content, IEnumerable<SeedTree> children))

Implicitly coerces a into a SeedTree

Declaration
public static implicit operator ((string type, string value) content, IEnumerable<SeedTree> children)(SeedTree seedTree)
Parameters
Type Name Description
SeedTree seedTree

The to convert.

Returns
Type Description
System.ValueTuple<System.ValueTuple<System.String, System.String>, System.Collections.Generic.IEnumerable<SeedTree>>

Implicit(SeedContent to SeedTree)

Implicitly coerces a SeedContent into a single SeedTree without children.

Declaration
public static implicit operator SeedTree(SeedContent seedContent)
Parameters
Type Name Description
SeedContent seedContent

The SeedContent to coerce.

Returns
Type Description
SeedTree

Implicit((SeedContent content, IEnumerable<SeedTree> children) to SeedTree)

Implicitly coerces a into a SeedTree

Declaration
public static implicit operator SeedTree((SeedContent content, IEnumerable<SeedTree> children) contentTuple)
Parameters
Type Name Description
System.ValueTuple<SeedContent, System.Collections.Generic.IEnumerable<SeedTree>> contentTuple

The to convert.

Returns
Type Description
SeedTree

Implicit((String type, String value, IEnumerable<SeedTree> children) to SeedTree)

Implicit coerces a into a SeedTree

Declaration
public static implicit operator SeedTree((string type, string value, IEnumerable<SeedTree> children) contentTuple)
Parameters
Type Name Description
System.ValueTuple<System.String, System.String, System.Collections.Generic.IEnumerable<SeedTree>> contentTuple

The to coerce.

Returns
Type Description
SeedTree

Implicit((String type, String value) to SeedTree)

Implicitly coerces a SeedContent into a single SeedTree without children.

Declaration
public static implicit operator SeedTree((string type, string value) seedContent)
Parameters
Type Name Description
System.ValueTuple<System.String, System.String> seedContent

The SeedContent to coerce.

Returns
Type Description
SeedTree
In This Article
  • Properties
    • Children
    • Content
  • Operators
    • Implicit(SeedTree to SeedContent)
    • Implicit(SeedTree to (SeedContent content, IEnumerable<SeedTree> children))
    • Implicit(SeedTree to (String type, String value))
    • Implicit(SeedTree to ((String type, String value) content, IEnumerable<SeedTree> children))
    • Implicit(SeedContent to SeedTree)
    • Implicit((SeedContent content, IEnumerable<SeedTree> children) to SeedTree)
    • Implicit((String type, String value, IEnumerable<SeedTree> children) to SeedTree)
    • Implicit((String type, String value) to SeedTree)
Built with ❤️ by @chyyran. Text content licensed under CC-BY-SA 4.0.