Azavea.Open.Common.Config.Equals C# (CSharp) Method

Equals() public method

Two Configs with the same config file and appname are Equal.
The parameter is null.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool
        public override bool Equals(object obj)
        {
            if (obj is Config)
            {
                return StringHelper.SafeEquals(ConfigFile, ((Config)obj).ConfigFile) &&
                    StringHelper.SafeEquals(Application, ((Config)obj).Application);
            }
            return false;
        }