Table of Contents

Method AddAssembly

Namespace
Alternet.Common.TypeScript.HostObjects
Assembly
Alternet.Common.TypeScript.v9.dll

AddAssembly(string, string, HostItemOptions, string[])

Updates current HostItemsConfiguration by adding new element with specified parameters.

public HostItemsConfiguration AddAssembly(string name, string assemblyName, HostItemOptions options = HostItemOptions.GlobalMembers, string[] searchPaths = null)

Parameters

name string

Name of the new HostItem object.

assemblyName string

Assembly name to be added to the HostItem collection.

options HostItemOptions

HostItemOptions of the HostItem.

searchPaths string[]

List of paths to locate specified assemblies.

Returns

HostItemsConfiguration

HostItemsConfiguration with updated Items collection.

AddAssembly(string, Assembly, HostItemOptions)

Updates current HostItemsConfiguration by adding new element with specified parameters.

public HostItemsConfiguration AddAssembly(string name, Assembly assembly, HostItemOptions options = HostItemOptions.GlobalMembers)

Parameters

name string

Name of the new HostItem object.

assembly Assembly

Assembly object to be added to the HostItem collection.

options HostItemOptions

HostItemOptions of the HostItem.

Returns

HostItemsConfiguration

HostItemsConfiguration with updated Items collection.