AlgoType.ProjectFilePath
property · AlgoType · cAlgo.API Since 5.1
DesktopCLICloud
Gets algorithm project file ".csproj" path if it has source code, otherwise null.
Environment behaviour
Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (AlgoRegistry, AlgoRegistry.Get).
Definition
string ProjectFilePath {get;}
algoType.ProjectFilePath: str
Returns string
Examples
foreach (var algoType in AlgoRegistry)
{
if (algoType.ProjectFilePath != null)
Print("{0} project: {1}", algoType.Name, algoType.ProjectFilePath);
}
for algoType in api.AlgoRegistry:
if algoType.ProjectFilePath is not None:
api.Print(f"{algoType.Name} project: {algoType.ProjectFilePath}")