AjErl.Language.Atom.Match C# (CSharp) Метод

Match() публичный Метод

public Match ( Atom atom ) : bool
atom Atom
Результат bool
        public bool Match(Atom atom)
        {
            return atom != null && this.name == atom.Name;
        }

Usage Example

Пример #1
0
        public void MatchWithAnotherAtom()
        {
            Atom atom = new Atom("one");
            Atom atom2 = new Atom("two");

            Assert.IsFalse(atom.Match(atom2));
        }
All Usage Examples Of AjErl.Language.Atom::Match