mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
fix: Removing bad validation
This commit is contained in:
parent
e70e9b21b0
commit
27e3e55af4
1 changed files with 0 additions and 6 deletions
|
|
@ -14,9 +14,6 @@ namespace ICD.Common.Utils.Extensions
|
|||
/// <param name="sender"></param>
|
||||
public static void Raise(this EventHandler extends, object sender)
|
||||
{
|
||||
if (sender == null)
|
||||
throw new ArgumentNullException("sender");
|
||||
|
||||
if (extends != null)
|
||||
extends(sender, EventArgs.Empty);
|
||||
}
|
||||
|
|
@ -31,9 +28,6 @@ namespace ICD.Common.Utils.Extensions
|
|||
public static void Raise<T>(this EventHandler<T> extends, object sender, T args)
|
||||
where T : EventArgs
|
||||
{
|
||||
if (sender == null)
|
||||
throw new ArgumentNullException("sender");
|
||||
|
||||
if (args == null)
|
||||
throw new ArgumentNullException("args");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue