dCsharp

Traversal.AsList Method 

A fixed-size List backed by the object graph rooted at obj. The elements of the list are the objects reachable by the strategy in the object graph with the given root whose class is a target of the strategy. Note that this list (like the List returned by Arrays.asList, but unlike the List returned by gather()) is write-through, i.e. modifying it will modify the underlying object graph, and vice versa. @throws TraversalSourceException if the type of obj is not a source of the strategy.

public virtual IList AsList(
   object obj
);

See Also

Traversal Class | edu.neu.ccs.demeter.dCsharp Namespace