Exemplo n.º 1
0
        public static bool operator !=(LocalizedRelationshipTypes op2, object op1)
        {
            if (op1.GetType() != typeof(LocalizedRelationshipTypes))
            {
                return(true);
            }
            LocalizedRelationshipTypes op = (LocalizedRelationshipTypes)op1;

            return(op.data != op2.data);
        }
Exemplo n.º 2
0
        public static bool operator ==(object op1, LocalizedRelationshipTypes op2)
        {
            if (op1.GetType() != typeof(LocalizedRelationshipTypes))
            {
                return(false);
            }
            LocalizedRelationshipTypes op = (LocalizedRelationshipTypes)op1;

            return(op.data == op2.data);
        }