Inheritance diagram for DllAndNamespaceHandling:


Public Member Functions | |
| DllAndNamespaceHandling (bool useDefault) | |
| void | Lock (string message) |
| Locks this object. This means that the calls to add/remove paths, dlls, and namespaces will return an ItemLockedExceptions. Calls to Clone are still allowed. | |
| void | UnLock () |
| Unlocks the object. | |
| object | Clone () |
| Makes a clone (deep copy) from this object and returns it. However, the locked status of this object is left untouched. | |
| void | Clone (DllAndNamespaceHandling from) |
| Makes this object equal to the 'from object' (deep copy). However, the locked status of this object is left untouched. | |
| void | AddPath (string path) |
| Adds a path to search for dlls in. | |
| void | RemovePath (string path) |
| ArrayList | GetPaths () |
| Returns the currently added paths. | |
| void | AddDll (string dll) |
| Adds a dll. This will be linked with the user programs when compiled. | |
| void | RemoveDll (string dll) |
| ArrayList | GetDlls () |
| Returns the currently added dlls. | |
| ArrayList | GetAvailableDlls () |
| Returns the available dlls. | |
| void | AddNamespace (string name) |
| Adds a namespace. The namespace will be added to the user programs when compiled (using directive). | |
| void | RemoveNamespace (string name) |
| ArrayList | GetNamespaces () |
| Returns the currently added namespaces. | |
| ArrayList | GetAvailableNamespaces () |
| Returns the available namespaces. | |
| ArrayList | GetAvailableTypes () |
| Returns the available types. | |
| Type | GetType (string name) |
| Returns a type from a qualified typename,. | |
| bool | AreSimilar (DllAndNamespaceHandling to) |
| According to http://weblogs.asp.net/bleroy/archive/2004/12/15/316601.aspx Equals should only be used on immutable objects. Therefore we make our own 'Equals' method for mutable objects. | |
| void | Load (FileStream fileStream, BinaryFormatter formatter) |
| void | Save (FileStream fileStream, BinaryFormatter formatter) |
| delegate void | ChangeHandler () |
Public Attributes | |
| event ChangeHandler | OnChange |
| An event is fired whenever paths, dlls, or namespaces are changed. | |
Private Member Functions | |
| Set | FindPathsToAdd () |
| Uses _packagesToFindPaths and _defaultPaths to make a set of paths. This set is used as default paths. | |
| Set | GetAvailableNamespaces (string dll) |
| Returns the available namespaces in a DLL. | |
| Assembly | GetAssembly (string dllname) |
| Returns an assembly, given a dllname. | |
| Set | GetAvailableTypes (string dll) |
| Returns the available types in a DLL. | |
| string | GetDllPath (string dll) |
| Locates the path where the dll can be found. | |
| ArrayList | AvailableDllsInDirectory (string path) |
| Returns the available DLL's in a directory. | |
| void | ChangeNotifyAll () |
Private Attributes | |
| ArrayList | _paths = new ArrayList() |
| ArrayList | _dlls = new ArrayList() |
| ArrayList | _namespaces = new ArrayList() |
| string | _locked |
Static Private Attributes | |
| static string[] | _packagesToFindPaths |
| static string[] | _defaultPaths |
| static string[] | _defaultDlls |
| Standard dlls. These are allways included by mcs. | |
|
|
|
|
|
Adds a dll. This will be linked with the user programs when compiled.
|
|
|
Adds a namespace. The namespace will be added to the user programs when compiled (using directive).
|
|
|
Adds a path to search for dlls in.
|
|
|
According to http://weblogs.asp.net/bleroy/archive/2004/12/15/316601.aspx Equals should only be used on immutable objects. Therefore we make our own 'Equals' method for mutable objects.
|
|
|
Returns the available DLL's in a directory.
|
|
|
|
|
|
|
|
|
Makes this object equal to the 'from object' (deep copy). However, the locked status of this object is left untouched.
|
|
|
Makes a clone (deep copy) from this object and returns it. However, the locked status of this object is left untouched.
|
|
|
Uses _packagesToFindPaths and _defaultPaths to make a set of paths. This set is used as default paths.
|
|
|
Returns an assembly, given a dllname.
|
|
|
Returns the available dlls. That is, the dlls which can be found though the added paths. |
|
|
Returns the available namespaces in a DLL.
|
|
|
Returns the available namespaces. That is, the namespaces which can be found from the added dlls and the auto-included dlls, such as System. |
|
|
Returns the available types in a DLL.
|
|
|
Returns the available types. That is, the types which can be found from the added dlls and the auto-included dlls, such as System. |
|
|
Locates the path where the dll can be found.
|
|
|
Returns the currently added dlls.
|
|
|
Returns the currently added namespaces.
|
|
|
Returns the currently added paths.
|
|
|
Returns a type from a qualified typename,.
|
|
||||||||||||
|
Implements IReferenceSaveSerializable. |
|
|
Locks this object. This means that the calls to add/remove paths, dlls, and namespaces will return an ItemLockedExceptions. Calls to Clone are still allowed.
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Implements IReferenceSaveSerializable. |
|
|
Unlocks the object.
|
|
|
Initial value: {
"System.dll",
"System.Xml.dll",
"mscorlib.dll"
}
Also see _standardDlls member variable.
|
|
|
Initial value: {
"/usr/lib/mono/2.0",
"/usr/lib/mono/gtk-sharp"
}
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: {
"gtk-sharp",
"gnome-sharp",
"gecko-sharp"
}
|
|
|
|
|
|
An event is fired whenever paths, dlls, or namespaces are changed.
|