Class GuidCollection<T>
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Core.dll
Syntax
public class GuidCollection<T> : KeyedCollection<Guid, T>, IList<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IList, ICollection, IKeyedCollection<Guid, T>, ICollection<T>, IEnumerable<T>, IEnumerable where T : IIdentifiable
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
GetKeyForItem(T)
Declaration
protected override Guid GetKeyForItem(T item)
Parameters
| Type | Name | Description |
|---|---|---|
| T | item |
Returns
| Type | Description |
|---|---|
| Guid |
Overrides
InsertItem(int, T)
Declaration
protected override void InsertItem(int index, T item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | |
| T | item |
Overrides
SetItem(int, T)
Declaration
protected override void SetItem(int index, T item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | |
| T | item |
Overrides
TryGetValue(Guid, out T)
Declaration
public bool TryGetValue(Guid key, out T value)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | key | |
| T | value |
Returns
| Type | Description |
|---|---|
| bool |