CxLibrary
Description
- Derived from
-
CxNode abstract
ICxNamespaceContainer<CxName>
A library is a collection of CxCodeUnit objects.
A CxLibrary object is used to group CxCodeUnit objects logically, so that they may resolve their references. Each library contains code units for the following pre-defined simple types (see CxTypeSimple.TypeName):
Additionally, the following bootstrap system types are defined:
-
System.Array
-
System.Attribute
-
System.AttributeTargets
-
System.AttributeUsageAttribute
-
System.Collections.Generic.IEnumerable
-
System.Collections.Generic.IEnumerator
-
System.ComponentModel.BrowsableAttribute
-
System.Exception
-
System.FlagsAttribute
-
System.IComparable
-
System.IDisposable
-
System.IEquatable
-
System.IntPtr
-
System.Object
-
System.String
Public / Methods
Add
Adds the given code unit to this library.
Before returning true
, this method calls IPsiNode.Resolve on codeUnit in. To resolve all references, it might be necessary to make a final call to IPsiNode.Resolve on this library, for example if there are cyclic references or if the code units have been added in the wrong order (i.e. referencing first, referenced last).