AlgoTypeEventArgs.AlgoTypeName
property · AlgoTypeEventArgs · cAlgo.API
DesktopCLICloud
Algo Type Name
Environment behaviour
Cloud — not supported. Never raised in the cloud: the events that pass it never fire there (AlgoRegistry.AlgoTypeChanged, AlgoRegistry.AlgoTypeDeleted, AlgoRegistry.AlgoTypeInstalled).
Definition
public string AlgoTypeName {get;}
algoTypeEventArgs.AlgoTypeName: str
Returns string
Examples
protected override void OnStart()
{
AlgoRegistry.AlgoTypeInstalled += OnAlgoTypeInstalled;
}
private void OnAlgoTypeInstalled(AlgoTypeInstalledEventArgs args)
{
Print("New algo type available: {0}", args.AlgoTypeName);
}
def on_start(self):
api.AlgoRegistry.AlgoTypeInstalled += self.on_algo_type_installed
def on_algo_type_installed(self, args):
api.Print(f"New algo type available: {args.AlgoTypeName}")