mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-30 04:44:49 +00:00
35 lines
754 B
C#
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; }
|
|
}
|
|
}
|