Class ConditionExtensions
- Namespace
- Cuemon.Extensions
- Assembly
- Cuemon.Extensions.Core.dll
Extension methods for the Condition class.
public static class ConditionExtensions
- Inheritance
-
ObjectConditionExtensions
Methods
HasDifference(Condition, String, String, out String)
Determines whether there is a set difference between second
and first
.
public static bool HasDifference(this Condition _, string first, string second, out string difference)
Parameters
_
ConditionThe Condition to extend.
first
StringThe value where characters that are not also in
second
will be returned.second
StringThe value to compare with
first
.difference
StringThe set difference between
second
andfirst
or System.String.Empty if no difference.
Returns
- Boolean
true
if there is a set difference betweensecond
andfirst
; otherwisefalse
.