2016-10-09 2 views

답변

1
Equals에 대한 Sitecore에 의해 사용되는 코드 아래

, CaseInsensitivelyEquals, NotEqualNotCaseInsensitivelyEquals 운영자 :

case StringConditionOperator.Equals: 
    return first == second; 
case StringConditionOperator.CaseInsensitivelyEquals: 
    return string.Compare(first, second, System.StringComparison.CurrentCultureIgnoreCase) == 0; 
case StringConditionOperator.NotEqual: 
    return first != second; 
case StringConditionOperator.NotCaseInsensitivelyEquals: 
    return string.Compare(first, second, System.StringComparison.CurrentCultureIgnoreCase) != 0;