Skip to content

Namespace Belay.Core.Examples

Classes

EnvironmentReading

Represents a single environmental sensor reading.

SimpleDevice

Simple example device demonstrating [Task] attribute method interception. This shows how users can inherit from Device and use attributes for method execution.

Interfaces

IEnvironmentMonitor

Interface demonstrating comprehensive attribute-driven device programming. This environmental monitoring device showcases the complete lifecycle using [Setup], [Task], [Thread], and [Teardown] attributes with method interception.

ISensorDevice

Example interface demonstrating method interception with the [Task] attribute. This interface shows the recommended pattern for using Belay.NET's attribute-based programming model.

ISimpleSensorDevice

Example interface demonstrating method interception with the [Task] and [PythonCode] attributes. This interface shows how to embed Python code directly in method declarations.

Released under the Apache License 2.0.