Table of Contents

Method AddTypes

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

AddTypes(string, IEnumerable<Type>, HostItemOptions)

Updates current HostItemsConfiguration by adding new element with specified parameters.

public HostItemsConfiguration AddTypes(string name, IEnumerable<Type> types, HostItemOptions options = HostItemOptions.None)

Parameters

name string

Name of the new HostItem object.

types IEnumerable<Type>

List of types to be added to the HostItem collection.

options HostItemOptions

HostItemOptions of the HostItem.

Returns

HostItemsConfiguration

HostItemsConfiguration with updated Items collection.