Method AddTypes
- Namespace
- Alternet.Common.TypeScript.HostObjects
- Assembly
- Alternet.Common.TypeScript.v10.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
namestringName of the new
HostItemobject.typesIEnumerable<Type>List of types to be added to the
HostItemcollection.optionsHostItemOptionsHostItemOptionsof theHostItem.
Returns
- HostItemsConfiguration
HostItemsConfiguration with updated Items collection.