This class takes a string and a writing system and matches strings that have exactly the same characters all in exactly that writing system.
Наследование: IMatcher
Пример #1
0
        public bool SameMatcher(IMatcher other)
        {
            if (other.GetType() != this.GetType())
            {
                return(false);
            }
            ExactLiteralMatcher other1 = other as ExactLiteralMatcher;

            return(m_target == other1.m_target && m_ws == other1.m_ws);
        }
Пример #2
0
        public bool SameMatcher(IMatcher other)
        {
            // TODO-Linux: System.Boolean System.Type::op_Inequality(System.Type,System.Type)
            // is marked with [MonoTODO] and might not work as expected in 4.0.
            if (other.GetType() != this.GetType())
            {
                return(false);
            }
            ExactLiteralMatcher other1 = other as ExactLiteralMatcher;

            return(m_target == other1.m_target && m_ws == other1.m_ws);
        }