Click or drag to resize

ChildCollectionDefinitionTChildObject Constructor

Creates new child collection definition with the specified name and based on the specified reference

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public ChildCollectionDefinition(
	string name,
	Func<ObjectReference> getReferenceFromChildToParent
)

Parameters

name
Type: SystemString
The name of the child collection
getReferenceFromChildToParent
Type: SystemFuncObjectReference
Function, which returns the reference on which to base the child collection.
Remarks
The reference is returned by a function, because both references and child collections are usually statically constructed and the actual reference might not be initialized by the time the child collection is initialized.
See Also