using System; namespace Decal.Adapter.Messages; /// /// Defines a response to a message request /// [CLSCompliant(true)] public class AdapterMessageResponseEventArgs : EventArgs { private bool success; private bool complete; /// /// Whether or not the actions take due to the message succeeded /// public bool Succeeded => success; /// /// Whether or not all handlers have completed processing /// public bool Complete { get { return complete; } internal set { complete = value; } } /// /// Create a new AdapterMessageResponse /// /// Did these actions succeed? protected AdapterMessageResponseEventArgs(bool success) { this.success = success; } }