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

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Ejemplo n.º 2
0
 public IMCommandEN(IMCommandEN iMCommand)
 {
     this.init(Id, iMCommand.Command, iMCommand.Name, iMCommand.Type, iMCommand.ServiceType, iMCommand.Description, iMCommand.EntityArgument, iMCommand.Entity, iMCommand.RuleAction, iMCommand.OriginState, iMCommand.TargetState, iMCommand.Triggers);
 }