Bungee Logic : Site : Collection
Page Status: Beta
Contents |
[edit] Purpose
A Collection site is similar to an Object site in that it specifies both the creation and population of a new collection object.
[edit] How to Use
Consider the following code snippet:
var Collection foos = new Foo[int];
The Collection initialization dialog is invoked by selecting the Collection site type, and then clicking the ellipsis button.
The contents of the dialog (left) specify that the new collection is to be populated with four instances of class Foo.
Note that clicking the ellipses button for each instance enables further customization of the collection elements.