• Introduction
  • C# API
  • GraphQL API
  • Home
  • Blog
  • Docs
  • GitHub
  • Snowflake.Model.Records
  • IMetadataCollection
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

Interface IMetadataCollection

Represents a collection of metadata

Inherited Members
System.Collections.Generic.IDictionary<System.String, Snowflake.Model.Records.IRecordMetadata>.Add(System.String, Snowflake.Model.Records.IRecordMetadata)
System.Collections.Generic.IDictionary<System.String, Snowflake.Model.Records.IRecordMetadata>.ContainsKey(System.String)
System.Collections.Generic.IDictionary<System.String, Snowflake.Model.Records.IRecordMetadata>.Remove(System.String)
System.Collections.Generic.IDictionary<System.String, Snowflake.Model.Records.IRecordMetadata>.TryGetValue(System.String, Snowflake.Model.Records.IRecordMetadata)
System.Collections.Generic.IDictionary<System.String, Snowflake.Model.Records.IRecordMetadata>.Item[System.String]
System.Collections.Generic.IDictionary<System.String, Snowflake.Model.Records.IRecordMetadata>.Keys
System.Collections.Generic.IDictionary<System.String, Snowflake.Model.Records.IRecordMetadata>.Values
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>>.Add(System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>>.Clear()
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>>.Contains(System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>>.CopyTo(System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>[], System.Int32)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>>.Remove(System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>>.Count
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>>.IsReadOnly
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, Snowflake.Model.Records.IRecordMetadata>>.GetEnumerator()
System.Collections.IEnumerable.GetEnumerator()
Namespace: Snowflake.Model.Records
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface IMetadataCollection : IDictionary<string, IRecordMetadata>, ICollection<KeyValuePair<string, IRecordMetadata>>, IEnumerable<KeyValuePair<string, IRecordMetadata>>, IEnumerable

Properties

Item[Guid]

Gets a metadata with its guid

Declaration
IRecordMetadata this[Guid guid] { get; }
Parameters
Type Name Description
System.Guid guid

The guid of the metadata

Property Value
Type Description
IRecordMetadata

The requested metadata

Item[String]

The value of this metadata. If you want to get the raw records, enumerate System.Collections.Generic.IDictionary<TKey, TValue>.Values

If the request key does not exist, returns null. If the value is set to null, removes the value.

Declaration
string this[string key] { get; set; }
Parameters
Type Name Description
System.String key

The metadata key

Property Value
Type Description
System.String

The value of the metadata

Record

Gets the record guid this metadata collection is set to.

Declaration
Guid Record { get; }
Property Value
Type Description
System.Guid

Methods

Add(IRecordMetadata)

Adds a metadata value

Declaration
void Add(IRecordMetadata recordMetadata)
Parameters
Type Name Description
IRecordMetadata recordMetadata

The value to add

Add(IDictionary<String, IRecordMetadata>)

Copy the metadata of one collection to another, changing the guid of the metadata.

Declaration
void Add(IDictionary<string, IRecordMetadata> existingMetadata)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, IRecordMetadata> existingMetadata

The existing metadata

Add(String, String)

Adds a record metadata with the specified key and value

Declaration
void Add(string key, string value)
Parameters
Type Name Description
System.String key

The key of the metadata

System.String value

The value of the metadata

In This Article
  • Properties
    • Item[Guid]
    • Item[String]
    • Record
  • Methods
    • Add(IRecordMetadata)
    • Add(IDictionary<String, IRecordMetadata>)
    • Add(String, String)
Built with ❤️ by @chyyran. Text content licensed under CC-BY-SA 4.0.