Xwt.TransferDataType.operator C# (CSharp) Method

operator() public static method

public static operator ( ) : bool
return bool
		public static bool operator == (TransferDataType c1, TransferDataType c2) 
		{
			if (object.ReferenceEquals (c1, c2))
				return true;
			
			if ((object)c1 == null || (object)c2 == null)
				return false;
			
			return c1.id == c2.id;
		}