Table of Contents

Class NonIdentifiableCollectionItemsAttribute

Namespace
Stride.Core.Annotations
Assembly
Stride.Core.dll

This attribute indicates that a collection should not be serialized with identifiers associated to each of its item.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Property|AttributeTargets.Field)]
public class NonIdentifiableCollectionItemsAttribute : Attribute
Inheritance
NonIdentifiableCollectionItemsAttribute
Inherited Members

Remarks

When this attribute is attached to a type (class or struct), any collection in that type or in a nested type will be serialized without identifier. When this attribute is attached to a member (property of field) that is a collection, only this collection will be serialized without identifier.