mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-13 12:37:13 +00:00
feat: EventArgs constructor overloads
This commit is contained in:
parent
1d6e8d55ca
commit
524cdc3e31
2 changed files with 20 additions and 1 deletions
|
|
@ -6,7 +6,17 @@
|
||||||
/// Constructor.
|
/// Constructor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="data"></param>
|
/// <param name="data"></param>
|
||||||
public BoolEventArgs(bool data) : base(data)
|
public BoolEventArgs(bool data)
|
||||||
|
: base(data)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Constructor.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="eventArgs"></param>
|
||||||
|
public BoolEventArgs(BoolEventArgs eventArgs)
|
||||||
|
: this(eventArgs.Data)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,14 @@
|
||||||
public StringEventArgs(string data) : base(data)
|
public StringEventArgs(string data) : base(data)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Constructor.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="eventArgs"></param>
|
||||||
|
public StringEventArgs(StringEventArgs eventArgs)
|
||||||
|
: base(eventArgs.Data)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue