NHibernate.Lob.ClobType.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
		public override bool Equals(object obj)
		{
			if (obj == this) return true;
			if (!base.Equals(obj)) return false;
			ClobType ct = obj as ClobType;
			if (this.encoding != ct.encoding && this.encoding != null && !this.encoding.Equals(ct.encoding)) return false;
			if (this.compression == ct.compression) return true;
			return this.compression != null && this.compression.Equals(ct.compression);
		}