Method AddAssemblies
- Namespace
- Alternet.Common.TypeScript.HostObjects
- Assembly
- Alternet.Common.TypeScript.v10.dll
AddAssemblies(string, IEnumerable<string>, HostItemOptions, string[])
Updates current HostItemsConfiguration by adding new element with specified parameters.
public HostItemsConfiguration AddAssemblies(string name, IEnumerable<string> assemblyNames, HostItemOptions options = HostItemOptions.GlobalMembers, string[] searchPaths = null)
Parameters
namestringName of the new
HostItemobject.assemblyNamesIEnumerable<string>List of assembly names to be added to the
HostItemcollection.optionsHostItemOptionsHostItemOptionsof theHostItem.searchPathsstring[]List of paths to locate given assemblies.
Returns
- HostItemsConfiguration
HostItemsConfiguration with updated Items collection.
AddAssemblies(string, IEnumerable<Assembly>, HostItemOptions)
Updates current HostItemsConfiguration by adding new element with specified parameters.
public HostItemsConfiguration AddAssemblies(string name, IEnumerable<Assembly> assemblies, HostItemOptions options = HostItemOptions.GlobalMembers)
Parameters
namestringName of the new
HostItemobject.assembliesIEnumerable<Assembly>List of Assembly objects to be added to the
HostItemcollection.optionsHostItemOptionsHostItemOptionsof theHostItem.
Returns
- HostItemsConfiguration
HostItemsConfiguration with updated Items collection.