示例#1
0
        public ConditionCriteriaEvent Copy()
        {
            Server.Application.ConditionCriteriaEvent serverConditionCriteria = (Server.Application.ConditionCriteriaEvent)ToServerObject();

            ConditionCriteriaEvent copiedConditionCriteria = new ConditionCriteriaEvent(application, serverConditionCriteria);

            return(copiedConditionCriteria);
        }
示例#2
0
        public Boolean IsEqual(ConditionCriteriaEvent compareCriteria)
        {
            Boolean isEqual = true;

            if (this.eventType != compareCriteria.EventType)
            {
                isEqual = false;
            }

            if (this.serviceId != compareCriteria.ServiceId)
            {
                isEqual = false;
            }

            return(isEqual);
        }