Header menu logo BaboonAPI

Entrypoints Module

Functions and values

Function or value Description

get ()

Full Usage: get ()

Parameters:
    () : unit

Returns: IReadOnlyList<'t>

Get a list of entrypoints of the specified type

This call is expensive! You should not be fetching entrypoints in a loop. Instead, do it once and store the result. Calling this method will search for any subclasses of 't with the BaboonEntryPointAttribute attribute and instantiate them.

() : unit
Returns: IReadOnlyList<'t>

getEntrypointContainers ()

Full Usage: getEntrypointContainers ()

Parameters:
    () : unit

Returns: IReadOnlyList<EntryPointContainer<'t>>

Get a list of entrypoint containers for the specified type

This call is expensive! You should not be fetching entrypoints in a loop. Instead, do it once and store the result. Calling this method will search for any subclasses of 't with the BaboonEntryPointAttribute attribute and instantiate them.

() : unit
Returns: IReadOnlyList<EntryPointContainer<'t>>

Type something to start searching.