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
파일: AtomTests.cs 프로젝트: ajlopez/AjErl
        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