Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    DeletedKeyWithId<TKey> Struct

    Namespace: Stride.Core.Yaml
    Assembly: 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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    Fields


    Id

    The ItemId associated to the key.

    public readonly ItemId Id
    Field Value
    Type Description
    ItemId
    | Improve this Doc View Source

    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

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation