ドキュメント

Unity Engine

Unity Engine

PropertyCollection<TContainer>

The PropertyCollection<TContainer> struct provides enumerable access to all IProperty<TContainer> for a given PropertyBag<TContainer>.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public readonly struct PropertyCollection<TContainer> : IEnumerable<IProperty<TContainer>>, IEnumerable

Constructors

Constructor

Description

PropertyCollection`1(System.Collections.Generic.IEnumerable{Unity.Properties.IProperty{`0}})Initializes a new instance of the PropertyCollection<TContainer> struct which wraps the given enumerable.
PropertyCollection`1(System.Collections.Generic.List{Unity.Properties.IProperty{`0}})Initializes a new instance of the PropertyCollection<TContainer> struct which wraps the given properties list.

Static Properties

Property

Description

EmptyReturns an empty collection of properties.

Methods

Method

Description

GetEnumeratorReturns an enumerator that iterates through the collection.

Structs

Struct

Description

PropertyCollection<TContainer>.EnumeratorAn enumerator struct to enumerate all properties for the given
TContainer
.