C# (CSharp) RevitLookup.Snoop.Collectors Namespace

Сlasses

Name Description
Collector This is the base class of data collector objects. We'll just establish the protocol for derived classes. This class is abstract and cannot be instantiated except by derived classes. A Snoop.Collector class is passed an object and manually fills up an ArrayList of Snoop.Data objects. The list is then displayed in a Form (or can be sent elsewhere if need be). For the most part, the Collector is just the initial catch point. CollectorExts are responsible for knowing about certain types of objects.
CollectorEventArgs Simple class to package up EventArgs for any Snoop Collector Extensions.
CollectorObj This is really a collector for any object of type System.Object. In non .NET enviroments, you need multiple Collector objects to handle the fact that not everything is derived from a common class hierarchy. In .NET, System.Object is the root of everything, so its easy to make a single Collector.
CollectorXmlNode Collect data about an CollectorXmlNode. Since everything we encounter in XML will be restricted to XML and not Elements and such, keep these all in their own Collector object so we don't waste time trying to traverse a class hierarchy that we'll never be expected to deal with.