Table of Contents

Struct KeyWithId<TKey>

Namespace
Stride.Core.Yaml
Assembly
Stride.Core.Assets.dll

A generic structure that implements the IKeyWithId interface for keys that are not deleted.

public struct KeyWithId<TKey> : IKeyWithId

Type Parameters

TKey

The type of the key.

Implements
Inherited Members

Constructors

KeyWithId(ItemId, TKey)

Initializes a new instance of the KeyWithId<TKey> structure.

public KeyWithId(ItemId id, TKey key)

Parameters

id ItemId

The ItemId associated to the key.

key TKey

The key of the dictionary.

Fields

Id

The ItemId associated to the key.

public readonly ItemId Id

Field Value

ItemId

Key

The key of the dictionary.

public readonly TKey Key

Field Value

TKey