AssetPartCollection<TAssetPartDesign, TAssetPart> Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
System.Object → System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign> →
AssetPartCollection<TAssetPartDesign, TAssetPart>
Derived from AssetPartCollection<TAssetPartDesign, TAssetPart>:
[DataSerializer(typeof(AssetPartCollectionSerializer<, >), Mode = DataSerializerGenericMode.GenericArguments)]
public sealed class AssetPartCollection<TAssetPartDesign, TAssetPart> : SortedList<Guid, TAssetPartDesign>, IDictionary<Guid, TAssetPartDesign>, ICollection<KeyValuePair<Guid, TAssetPartDesign>>, IDictionary, ICollection, IReadOnlyDictionary<Guid, TAssetPartDesign>, IReadOnlyCollection<KeyValuePair<Guid, TAssetPartDesign>>, IEnumerable<KeyValuePair<Guid, TAssetPartDesign>>, IEnumerable where TAssetPartDesign : IAssetPartDesign<TAssetPart> where TAssetPart : IIdentifiable
Type Parameters
Name | Description |
---|---|
TAssetPartDesign | |
TAssetPart |
Name | Description | |
---|---|---|
Methods | ||
Add(TAssetPartDesign) | ||
Add(KeyValuePair<Guid, TAssetPartDesign>) | ||
RefreshKeys() | Refreshes the keys of this collection. Must be called if some ids of the contained parts have changed. |
Methods
Add(TAssetPartDesign)
public void Add(TAssetPartDesign part)
Parameters
Type | Name | Description |
---|---|---|
TAssetPartDesign | part |
Add(KeyValuePair<Guid, TAssetPartDesign>)
public void Add(KeyValuePair<Guid, TAssetPartDesign> part)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign> | part |
RefreshKeys()
Refreshes the keys of this collection. Must be called if some ids of the contained parts have changed.
public void RefreshKeys()
Inherited Members
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.Add(System.Guid, TAssetPartDesign)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>>.Add(System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>>.Contains(System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>>.Remove(System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.Add(System.Object, System.Object)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.Clear()
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.Contains(System.Object)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.ContainsKey(System.Guid)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.ContainsValue(TAssetPartDesign)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>>.CopyTo(System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>[], System.Int32)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.GetEnumerator()
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>>.GetEnumerator()
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.GetEnumerator()
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.get_Item(System.Object)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.IndexOfKey(System.Guid)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.IndexOfValue(TAssetPartDesign)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.TryGetValue(System.Guid, TAssetPartDesign)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.RemoveAt(System.Int32)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.Remove(System.Guid)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.Remove(System.Object)
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.TrimExcess()
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.Capacity
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.Comparer
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.Count
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.Keys
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.IDictionary<System.Guid, TAssetPartDesign>.Keys
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.Keys
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.IReadOnlyDictionary<System.Guid, TAssetPartDesign>.Keys
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.Values
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.IDictionary<System.Guid, TAssetPartDesign>.Values
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.Values
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.IReadOnlyDictionary<System.Guid, TAssetPartDesign>.Values
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Guid, TAssetPartDesign>>.IsReadOnly
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.IsReadOnly
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.IsFixedSize
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.Item[System.Guid]
System.Collections.Generic.SortedList<System.Guid, TAssetPartDesign>.System.Collections.IDictionary.Item[System.Object]