This is a migrated thread and some comments may be shown as answers.

ObjectContainer.Closure not present in VOA 3.5.0.42

1 Answer 52 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
bhaus
Top achievements
Rank 1
bhaus asked on 16 Jan 2009, 09:02 AM
Hallo,

in the dotNetProgrammersGuide ist written:

"OpenAccess .NET provides a helper class, OpenAccess.Closure, to copy the complete network referenced from a root object to a container"

I'm using OpenAccess in Version 3.5.0.42 and there is no class called Closure in the OpenAccess Namespace.

Is there any other way to to copy the complete network referenced from a root object to a container?

greetings
Daniel

1 Answer, 1 is accepted

Sort by
0
bhaus
Top achievements
Rank 1
answered on 16 Jan 2009, 09:35 AM
OK, i got it ...

I should read the manual more careful ;)

the Keyword is objectCollector

An implementation of the IObjectCollector interface used to calculate the object network for each of the root objects. It can also specify that objects referenced by the "root objects" need to be copied and added to the container. In this case the "root objects" are added to both, the named list and the container, whereas the referenced objects are added only to the container.

This parameter can be null, in which case only the root objects are added to the container.


Tags
Development (API, general questions)
Asked by
bhaus
Top achievements
Rank 1
Answers by
bhaus
Top achievements
Rank 1
Share this question
or