mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
Merge remote-tracking branch 'origin/MetLife_v5.4' into ConnectPro_v1.1
This commit is contained in:
@@ -165,8 +165,9 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
|
|
||||||
if (characters == null)
|
if (characters == null)
|
||||||
throw new ArgumentNullException("characters");
|
throw new ArgumentNullException("characters");
|
||||||
|
var cSet = characters.ToIcdHashSet();
|
||||||
|
|
||||||
return new string(extends.Except(characters).ToArray());
|
return new string(extends.Where(c => !cSet.Contains(c)).ToArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user