This class takes a string and a writing system and matches strings that have exactly the same characters all in exactly that writing system.
Inheritance: IMatcher
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }