Table of Contents

Method AddType

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

AddType(string, Type, HostItemOptions)

Updates current HostItemsConfiguration by adding new element with specified parameters.

public HostItemsConfiguration AddType(string name, Type type, HostItemOptions options = HostItemOptions.None)

Parameters

name string

Name of the new HostItem object.

type Type

Type to be added to the HostItem collection.

options HostItemOptions

HostItemOptions of the HostItem.

Returns

HostItemsConfiguration

HostItemsConfiguration with updated Items collection.