Table of Contents

Class CollectionItemIdHelper

Namespace
Stride.Core.Reflection
Assembly
Stride.Core.Assets.dll

A helper static class to retrieve CollectionItemIdentifiers from a collection or dictionary through the Stride.Core.Reflection.ShadowObject registry.

public static class CollectionItemIdHelper
Inheritance
CollectionItemIdHelper

Methods

GetCollectionItemIds(object)

public static CollectionItemIdentifiers GetCollectionItemIds(object instance)

Parameters

instance object

Returns

CollectionItemIdentifiers

HasCollectionItemIds(object)

public static bool HasCollectionItemIds(object instance)

Parameters

instance object

Returns

bool

TryGetCollectionItemIds(object, out CollectionItemIdentifiers)

public static bool TryGetCollectionItemIds(object instance, out CollectionItemIdentifiers itemIds)

Parameters

instance object
itemIds CollectionItemIdentifiers

Returns

bool