FunctionProxies

public static class FunctionProxies
Collection of all loaded function proxies.

Properties

Count

#
Gets the number of proxies in this server.
public static int Count { get; }

DefaultRules

#
Gets the default rules used for function organisation.
public static Rules DefaultRules { get; }

Proxies

#
Enumerate over all proxies which the user is allowed to browse. Functions belonging to a fleeting plugin are omitted — see FleetingPlugins.
public static IEnumerable<FunctionProxy> Proxies { get; }

Methods

FindById

#
Try and get a proxy based on ID.
public static FunctionProxy FindById(
id
)

FindByType

#
Try and get a proxy based on a function type.
public static FunctionProxy FindByType(
type
)

IsKnownId

#
Gets whether a specific ObjectId has been registered with this server.
public static bool IsKnownId(
id
)

RegisterObject

#
Add a new function type to this server.
public static bool RegisterObject(
functionType,
Object type, must be a constructible type which is assignable to Function.
plugin
Plugin which owns this object.
)
True if type was added.

Search

#
Search the server for a specific query.
public static FunctionProxy[] Search(
query,
Text query.
maxResults
Maximum number of returned results.
)
Array of search results, sorted from most relevant to least relevant.