Skip to content

PluginType.IsEnabled

property · PluginType · cAlgo.API

DesktopCLICloud

Returns true if plugin is enabled otherwise false.

Environment behaviour

Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (AlgoRegistry.Plugins).

Definition

bool IsEnabled {get;}
pluginType.IsEnabled: bool

Returns bool

Examples

foreach (var pluginType in AlgoRegistry.Plugins)
    Print("{0} is enabled: {1}", pluginType.Name, pluginType.IsEnabled);
for pluginType in api.AlgoRegistry.Plugins:
    api.Print(f"{pluginType.Name} is enabled: {pluginType.IsEnabled}")