PropertyCollection
Initializes a new instance of the PropertyCollection<TContainer> struct which wraps the given enumerable.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Constructor
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
PropertyCollection(IEnumerable<IProperty<T>>)
Initializes a new instance of the PropertyCollection<TContainer> struct which wraps the given enumerable.
public PropertyCollection(IEnumerable<IProperty<TContainer>> enumerable)
Parameters
An IEnumerable of properties to wrap.
PropertyCollection(List<IProperty<T>>)
Initializes a new instance of the PropertyCollection<TContainer> struct which wraps the given properties list.
public PropertyCollection(List<IProperty<TContainer>> properties)
Parameters
A list of properties to wrap.