DeletedKeyWithId<TKey> Struct
Namespace: Stride.Core.YamlAssembly: Stride.Core.Assets.dll
A generic structure that implements the IKeyWithId interface for keys that are deleted.
public struct DeletedKeyWithId<TKey> : IKeyWithId
Type Parameters
| Name | Description |
|---|---|
| TKey | The type of the key. |
| Name | Description | |
|---|---|---|
| Constructors | ||
| DeletedKeyWithId(ItemId) | Initializes a new instance of the KeyWithId<TKey> structure. |
|
| Fields | ||
| Id | The ItemId associated to the key. |
|
| Explicit Interface Implementations | ||
| IKeyWithId.Id | The ItemId associated to the key. |
|
| IKeyWithId.IsDeleted | Indicates whether this key is considered to be deleted in the dictionary, and kept around for reconcilation purpose. |
|
| IKeyWithId.Key | The key of the dictionary. |
|
| IKeyWithId.KeyType | The type of the key. |
|
Constructors
DeletedKeyWithId(ItemId)
Initializes a new instance of the KeyWithId<TKey> structure.
public DeletedKeyWithId(ItemId id)
Parameters
| Type | Name | Description |
|---|---|---|
| ItemId | id | The ItemId associated to the deleted key. |
Fields
Id
The ItemId associated to the key.
public readonly ItemId Id
Field Value
| Type | Description |
|---|---|
| ItemId |
Explicit Interface Implementations
IKeyWithId.Id
The ItemId associated to the key.
readonly ItemId IKeyWithId.Id { get; }
Returns
| Type | Description |
|---|---|
| ItemId |
IKeyWithId.IsDeleted
Indicates whether this key is considered to be deleted in the dictionary, and kept around for reconcilation purpose.
readonly bool IKeyWithId.IsDeleted { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
IKeyWithId.Key
The key of the dictionary.
readonly object IKeyWithId.Key { get; }
Returns
| Type | Description |
|---|---|
| System.Object |
IKeyWithId.KeyType
The type of the key.
readonly Type IKeyWithId.KeyType { get; }
Returns
| Type | Description |
|---|---|
| System.Type |