Example #1
0
        private static bool subContains(List <ActionObserver> subActionObserver, ActionObserver ob)
        {
            foreach (ActionObserver x in subActionObserver)
            {
                if (x.GetType() == ob.GetType())
                {
                    return(true);
                }
            }

            return(false);
        }
Example #2
0
        private static bool subContains( List<ActionObserver> subActionObserver, ActionObserver ob )
        {
            foreach (ActionObserver x in subActionObserver) {

                if (x.GetType() == ob.GetType()) return true;

            }

            return false;
        }