Skip to content

Constructor PythonCodeAttribute

Namespace: Belay.Attributes
Assembly: Belay.Attributes.dll

PythonCodeAttribute(string)

Initializes a new instance of the class.

csharp
public PythonCodeAttribute(string code)

Parameters

code string

The Python code to execute on the device.

Exceptions

ArgumentNullException

Thrown when code is null.

ArgumentException

Thrown when code is empty or whitespace.

Released under the Apache License 2.0.