Beispiel #1
0
        public CareLevel Copy()
        {
            Server.Application.CareLevel serverObject = (Server.Application.CareLevel)ToServerObject();

            CareLevel copiedCareLevel = new CareLevel(application, serverObject);

            return(copiedCareLevel);
        }
Beispiel #2
0
        public Boolean IsEqual(CareLevel compareObject)
        {
            Boolean isEqual = base.IsEqual((CoreConfigurationObject)compareObject);


            isEqual &= (activities.Count == compareObject.Activities.Count);

            if (isEqual)
            {
                for (Int32 currentIndex = 0; currentIndex < activities.Count; currentIndex++)
                {
                    isEqual &= activities[currentIndex].IsEqual(compareObject.Activities[currentIndex]);
                }
            }


            return(isEqual);
        }