Shaolinq.ObjectPropertyValue.operator C# (CSharp) Method

operator() public static method

public static operator ( ) : bool
return bool
		public static bool operator==(ObjectPropertyValue left, ObjectPropertyValue right)
		{
			if (!ReferenceEquals(left.PropertyName, right.PropertyName))
			{
				return false;
			}

			if (!ReferenceEquals(left.PersistedName, right.PersistedName))
			{
				return false;
			}

			if (left.PropertyNameHashCode != right.PropertyNameHashCode)
			{
				return false;
			}

			if (!Object.Equals(left.Value, right.Value))
			{
				return false;
			}

			return true;
		}