public override bool Equals(object obj) { if (obj == null) { return(false); } IMCommunicationEN t = obj as IMCommunicationEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public IMCommunicationEN(IMCommunicationEN iMCommunication) { this.init(Id, iMCommunication.Comunication, iMCommunication.Name, iMCommunication.OriginAssociation, iMCommunication.TargetAssociation, iMCommunication.Scenario, iMCommunication.Description, iMCommunication.Operations, iMCommunication.Attributes, iMCommunication.States); }