CmisSync.Lib.Config.Password.Equals C# (CSharp) Method

Equals() public method

Determines whether the specified System.Object is equal to the current CmisSync.Lib.Config.Password.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool
        public override bool Equals(object obj) {
            if (obj == null) {
                return false;
            } else if (obj is Password) {
                return this.ToString().Equals((obj as Password).ToString());
            } else {
                return false;
            }
        }