fBaseXtensions.XML.IsVariableSetTag.GetConditionExec C# (CSharp) Method

GetConditionExec() public method

public GetConditionExec ( ) : bool
return bool
        public override bool GetConditionExec()
        {
            if (!SetVariableTag.VariableDictionary.ContainsKey(Key))
            {
                //Logger.DBLog.DebugFormat("Key {0} not found!", Key);
                return false;
            }

            if (!SetVariableTag.VariableDictionary[Key].Equals(Value))
            {
                //Logger.DBLog.DebugFormat("Key {0} of Value {1} not equal to Value {2} ", Key, Value, SetVariableTag.VariableDictionary[Key]);
                return false;
            }

            return true;
        }