Class LibraryManager
Inherited Members
Namespace: CodeFactory.WinVs.Loader
Assembly: CodeFactory.WinVs.dll
Syntax
public static class LibraryManager
Methods
GetExternalDependentLibraries(Assembly, string)
Static extension method information configuration information about external assemblies used by the source assembly.
Declaration
public static List<VsLibraryConfiguration> GetExternalDependentLibraries(this Assembly source, string assemblyDirectory)
Parameters
| Type | Name | Description |
|---|---|---|
| Assembly | source | Source assembly to get external dependencies from. |
| string | assemblyDirectory | The directory in which the external dependent libraries are stored at. |
Returns
| Type | Description |
|---|---|
| List<VsLibraryConfiguration> | List of dependent libraries or null if not dependent libraries were found. |
GetLibraryActions(Assembly)
Extension method that loads all library commands from the current assembly.
Declaration
public static List<VsActionConfiguration> GetLibraryActions(this Assembly source)
Parameters
| Type | Name | Description |
|---|---|---|
| Assembly | source | Source assembly that holds the commands to be loaded. |
Returns
| Type | Description |
|---|---|
| List<VsActionConfiguration> | List of the library command information or null if the assembly information can't be loaded. |
GetLibraryInformation(string)
Loads the information about an automation library.
Declaration
public static VsAutomationLibrary GetLibraryInformation(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | The fully qualified path to the automation library file to load information from. |
Returns
| Type | Description |
|---|---|
| VsAutomationLibrary | Fully populated automation library information, or null if the library could not be loaded. |