Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            IMTargetEN t = obj as IMTargetEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 2
0
 public IMTargetEN(IMTargetEN iMTarget)
 {
     this.init(Id, iMTarget.Target, iMTarget.Name, iMTarget.Type, iMTarget.IsOID, iMTarget.TargetAssociation, iMTarget.OriginAsociation, iMTarget.AssociationType, iMTarget.IsWritable, iMTarget.Description, iMTarget.Entity, iMTarget.Trigger, iMTarget.Register, iMTarget.Value);
 }