Dev2.Studio.Core.Models.EnvironmentModel.Equals C# (CSharp) 메소드

Equals() 공개 메소드

public Equals ( IEnvironmentModel other ) : bool
other IEnvironmentModel
리턴 bool
        public bool Equals(IEnvironmentModel other)
        {
            if(other == null)
            {
                return false;
            }

            //Dont ever EVER check any other property here or the connect control will die and you will be beaten;)
            return ID == other.ID;
        }

Same methods

EnvironmentModel::Equals ( object obj ) : bool