SecurityDriven.Inferno.Extensions.Base16Config.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
		public override bool Equals(object obj)
		{
			var rhs = obj as Base16Config;
			if (rhs == null)
				return false;

			if (this.GetHashCode() != rhs.GetHashCode())
				return false;

			for (int i = 0; i < BASE; ++i)
			{
				if (this.Base16table[i] != rhs.Base16table[i])
					return false;
			}
			return true;
		}