Remove FoundStringEventArgs
This commit is contained in:
parent
f83fadd06b
commit
cb732aacb7
1 changed files with 0 additions and 17 deletions
|
|
@ -32,23 +32,6 @@ using System.Collections.Generic;
|
|||
|
||||
namespace MatterHackers.SerialPortCommunication
|
||||
{
|
||||
public class FoundStringEventArgs : EventArgs
|
||||
{
|
||||
public FoundStringEventArgs(string lineReceived)
|
||||
{
|
||||
this.LineToCheck = lineReceived.Trim();
|
||||
}
|
||||
|
||||
public bool CallbackWasCalled { get; set; }
|
||||
|
||||
public string LineToCheck { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Used to conditionally invoke LineSent/LineReceived events. Setting to false suppresses notification, hiding lines from listeners
|
||||
/// </summary>
|
||||
public bool AllowListenerNotification { get; set; } = true;
|
||||
}
|
||||
|
||||
public class FoundStringCallbacks
|
||||
{
|
||||
public Dictionary<string, Action<string>> dictionaryOfCallbacks = new Dictionary<string, Action<string>>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue