Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    RootAssetCollection Class

    Namespace: Stride.Core.Assets
    Assembly: Stride.Core.Assets.dll
    System.Object → KeyedSortedList<AssetId, AssetReference> → RootAssetCollection
    Derived from RootAssetCollection:

    [DataSerializer(typeof(KeyedSortedListSerializer<RootAssetCollection, AssetId, AssetReference>))]
    public class RootAssetCollection : KeyedSortedList<AssetId, AssetReference>, ICollection<AssetReference>, IEnumerable<AssetReference>, ICollection, IEnumerable
    Name Description
    Methods
    GetKeyForItem(AssetReference)

    Extracts the key for the specified element.

    | Improve this Doc View Source

    Methods


    GetKeyForItem(AssetReference)

    Extracts the key for the specified element.

    protected override AssetId GetKeyForItem(AssetReference item)
    Parameters
    Type Name Description
    AssetReference item
    Returns
    Type Description
    AssetId

    The key for the specified item.

    Overrides
    Stride.Core.Collections.KeyedSortedList<Stride.Core.Assets.AssetId, Stride.Core.Assets.AssetReference>.GetKeyForItem(Stride.Core.Assets.AssetReference)

    Inherited Members

    KeyedSortedList<AssetId, AssetReference>.items
    KeyedSortedList<AssetId, AssetReference>.GetKeyForItem(AssetReference)
    KeyedSortedList<AssetId, AssetReference>.InsertItem(Int32, AssetReference)
    KeyedSortedList<AssetId, AssetReference>.RemoveItem(Int32)
    KeyedSortedList<AssetId, AssetReference>.Sort()
    KeyedSortedList<AssetId, AssetReference>.Add(AssetReference)
    KeyedSortedList<AssetId, AssetReference>.ContainsKey(AssetId)
    KeyedSortedList<AssetId, AssetReference>.Remove(AssetId)
    KeyedSortedList<AssetId, AssetReference>.Item[Int32]
    KeyedSortedList<AssetId, AssetReference>.Item[AssetId]
    KeyedSortedList<AssetId, AssetReference>.TryGetValue(AssetId, AssetReference)
    KeyedSortedList<AssetId, AssetReference>.Clear()
    KeyedSortedList<AssetId, AssetReference>.Contains(AssetReference)
    KeyedSortedList<AssetId, AssetReference>.ICollection<AssetReference>.CopyTo(AssetReference[], Int32)
    KeyedSortedList<AssetId, AssetReference>.ICollection<AssetReference>.Remove(AssetReference)
    KeyedSortedList<AssetId, AssetReference>.ICollection.CopyTo(Array, Int32)
    KeyedSortedList<AssetId, AssetReference>.Count
    KeyedSortedList<AssetId, AssetReference>.ICollection.SyncRoot
    KeyedSortedList<AssetId, AssetReference>.ICollection.IsSynchronized
    KeyedSortedList<AssetId, AssetReference>.ICollection<AssetReference>.IsReadOnly
    KeyedSortedList<AssetId, AssetReference>.IndexOf(AssetReference)
    KeyedSortedList<AssetId, AssetReference>.Remove(AssetReference)
    KeyedSortedList<AssetId, AssetReference>.IEnumerable<AssetReference>.GetEnumerator()
    KeyedSortedList<AssetId, AssetReference>.IEnumerable.GetEnumerator()
    KeyedSortedList<AssetId, AssetReference>.GetEnumerator()
    KeyedSortedList<AssetId, AssetReference>.BinarySearch(AssetId)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    ArrayExtensions.ComputeHash<T>(ICollection<T>, IEqualityComparer<T>)
    EnumerableExtensions.IsNullOrEmpty(IEnumerable)
    EnumerableExtensions.ForEach<T>(IEnumerable, Action<T>)
    EnumerableExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
    EnumerableExtensions.IndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    EnumerableExtensions.LastIndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    EnumerableExtensions.NotNull<T>(IEnumerable<T>)
    EnumerableExtensions.ToHashCode<T>(IEnumerable<T>)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

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