public sealed class FunctionProxy : GeneralProxy<Function>
A proxy holding all required information about a certain Function.

Constructors

FunctionProxy

#
Create a proxy from an instance.
public FunctionProxy(
instance,
plugin
)

Properties

Icon

Gets the icon associated with this object.
public virtual IIcon Icon { get; }
inherited fromGeneralProxy<T>

Id

Gets the ID for this object.
public Guid Id { get; }
inherited fromGeneralProxy<T>

Nomen

Gets the nomen describing this object.
public Nomen Nomen { get; }
inherited fromGeneralProxy<T>

Obsolete

Gets whether this proxy represents an obsolete (or otherwise hidden) object.
public bool Obsolete { get; }
inherited fromGeneralProxy<T>

Plugin

Gets the plugin to which is object belongs.
public Plugin Plugin { get; }
inherited fromGeneralProxy<T>

SearchableNomen

Gets the searchable version of the nomen.
public Nomen SearchableNomen { get; }
inherited fromGeneralProxy<T>

Type

Gets the Type of this object.
public Type Type { get; }
inherited fromGeneralProxy<T>

Methods

Emit

Emit a new instance of this object.
public virtual T Emit(
initCode = null
If provided, this initialisation string will be passed to the object. Not all objects support init codes, but if it doesn't, and you supply one anyway, the code will just be ignored.
)
inherited fromGeneralProxy<T>

ExtractIconFromInstance

#
protected override IIcon ExtractIconFromInstance(
instance
)