ObjectContainer.Closure not present in VOA 3.5.0.42

2 posts, 0 answers
  1. bhaus
    bhaus avatar
    3 posts
    Member since:
    Jan 2009

    Posted 16 Jan 2009 Link to this post

    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
  2. bhaus
    bhaus avatar
    3 posts
    Member since:
    Jan 2009

    Posted 16 Jan 2009 Link to this post

    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.


  3. DevCraft banner
Back to Top