Opc.Ua.Com.Specification.Equals C# (CSharp) Method

Equals() public method

Determines if the object is equal to the specified value.
public Equals ( object target ) : bool
target object
return bool
		public override bool Equals(object target)
		{
			if (target != null && target.GetType() == typeof(Specification))
			{
				return (Id == ((Specification)target).Id);
			}

			return false;
		}