public ConditionCriteriaEvent Copy() { Server.Application.ConditionCriteriaEvent serverConditionCriteria = (Server.Application.ConditionCriteriaEvent)ToServerObject(); ConditionCriteriaEvent copiedConditionCriteria = new ConditionCriteriaEvent(application, serverConditionCriteria); return(copiedConditionCriteria); }
public Boolean IsEqual(ConditionCriteriaEvent compareCriteria) { Boolean isEqual = true; if (this.eventType != compareCriteria.EventType) { isEqual = false; } if (this.serviceId != compareCriteria.ServiceId) { isEqual = false; } return(isEqual); }