using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; using Crestron.SimplSharpPro; using Crestron.SimplSharpPro.DeviceSupport; using PepperDash.Core; namespace PepperDash.Essentials.Core { public static class ButtonExtensions { public static Button SetButtonAction(this Button button, Action a) { button.UserObject = a; return button; } public static Button SetButtonAction(this CrestronCollection