NetLib.Identifier.Equals C# (CSharp) 메소드

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool
        public override bool Equals(object obj)
        {
            if (obj is Identifier)
            {
                Identifier id2 = obj as Identifier;
                if (Username == id2.Username && Id == id2.Id)
                {
                    return true;
                }
            }
            else
            {
                return false;
            }
            return false;
        }