EditableObjectModelCollection<(Of <(<'TModelType>)>)> Constructor (IEnumerable<(Of <(<'TModelType>)>)>)

Creates a model by auto-constructing the property bag defined by TPropertyTracking and populates it using the supplied collection

Namespace:  Tortuga.Anchor.Modeling
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


protected EditableObjectModelCollection(
	IEnumerable<TModelType> collection
)
Protected Sub New ( _
	collection As IEnumerable(Of TModelType) _
)

Parameters

collection
Type: IEnumerable<(Of <(<'TModelType>)>)>
The collection from which the elements are copied.

Remarks


Requires TPropertyTracking have a public constructor that accepts an Object