Bamboo.Prevalence.Collections.Tests.Customer.Equals C# (CSharp) Method

Equals() public method

public Equals ( object other ) : bool
other object
return bool
		public override bool Equals(object other)
		{
			Customer customer = other as Customer;
			if (null == customer)
			{
				return false;
			}
			return customer.Name.Equals(_name);
		}
	}