public override bool Evaluate() { if (m_comparer == null) { if (_comparerType != null && _comparerType.IsValid) { m_comparer = (StringComparer)System.Activator.CreateInstance(_comparerType.Type); } else { throw new System.NullReferenceException("Null comparer"); } } return(m_comparer.Compare(_providerA.GetValue(), _providerB.GetValue())); }
protected override void OnTrigger() { _variable.SetValue(_newValue.GetValue()); End(); }