Files
Essentials/src/PepperDash.Essentials.Core/Factory/ReadyEventArgs.cs
2025-07-22 15:53:01 +00:00

35 lines
754 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using PepperDash.Essentials.Core;
namespace PepperDash.Essentials.Core
{
/// <summary>
/// Represents a IsReadyEventArgs
/// </summary>
public class IsReadyEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the IsReady
/// </summary>
public bool IsReady { get; set; }
public IsReadyEventArgs(bool data)
{
IsReady = data;
}
}
/// <summary>
/// Defines the contract for IHasReady
/// </summary>
public interface IHasReady
{
event EventHandler<IsReadyEventArgs> IsReadyEvent;
bool IsReady { get; }
}
}