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
stringName of the new
HostItem
object.types
IEnumerable<Type>List of types to be added to the
HostItem
collection.options
HostItemOptionsHostItemOptions
of theHostItem
.
Returns
- HostItemsConfiguration
HostItemsConfiguration with updated Items collection.